ability to replace the private key

This commit is contained in:
Brad Rydzewski
2015-11-20 10:31:10 -08:00
parent 5294e277d1
commit b5d9b81e96
2 changed files with 26 additions and 1 deletions

View File

@@ -99,6 +99,7 @@ func Load(middleware ...gin.HandlerFunc) http.Handler {
repo.GET("", controller.GetRepo)
repo.GET("/key", controller.GetRepoKey)
repo.POST("/key", controller.PostRepoKey)
repo.GET("/builds", controller.GetBuilds)
repo.GET("/builds/:number", controller.GetBuild)
repo.GET("/logs/:number/:job", controller.GetBuildLogs)