moving a function and struct over to a common library, starting on lockfile for server
This commit is contained in:
@@ -50,5 +50,6 @@ func main() {
|
||||
//Start the routes
|
||||
//e.GET("/hello", server.Hello)
|
||||
e.GET("/info/:repoName", server.GetInfo)
|
||||
e.GET("/lock/:type/:name", server.LockFile)
|
||||
e.Logger.Fatal(e.Start(fmt.Sprintf("%s:%d", server.Config.BindIP, server.Config.Port)))
|
||||
}
|
||||
|
Reference in New Issue
Block a user