Container start/stop impl
This commit is contained in:
@@ -18,14 +18,8 @@ func SetupRouter() *mux.Router {
|
||||
|
||||
r.HandleFunc("/health", health.Handle).Methods("GET", "OPTIONS")
|
||||
r.HandleFunc("/node/info", node.HandleInfo).Methods("GET", "OPTIONS")
|
||||
|
||||
/*
|
||||
r.HandleFunc("/album", handler.GetAlbums).Methods("GET", "OPTIONS")
|
||||
r.HandleFunc("/album", handler.SaveAlbum).Methods("POST", "OPTIONS")
|
||||
r.HandleFunc("/album/{albumId}", handler.DeleteAlbum).Methods("DELETE", "OPTIONS")
|
||||
r.HandleFunc("/album/{albumId}", handler.GetAlbum).Methods("GET", "OPTIONS")
|
||||
r.HandleFunc("/shareAlbum/{albumId}/{userId}", handler.ShareAlbum).Methods("POST", "OPTIONS")
|
||||
*/
|
||||
r.HandleFunc("/node/start", node.HandleStart).Methods("POST", "OPTIONS")
|
||||
r.HandleFunc("/node/stop", node.HandleStop).Methods("POST", "OPTIONS")
|
||||
|
||||
return r
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user