feat: add command and stop endpoints
This commit is contained in:
@@ -24,6 +24,8 @@ func Start(port string) {
|
||||
mux.HandleFunc("/", http.NotFound)
|
||||
mux.HandleFunc("/config", handlers.SetEnvHandler)
|
||||
mux.HandleFunc("/rollback", handlers.RollbackHandler)
|
||||
mux.HandleFunc("/command", handlers.CommandHandler)
|
||||
mux.HandleFunc("/stop", handlers.StopOcisHandler)
|
||||
|
||||
httpServer.Handler = mux
|
||||
|
||||
|
||||
Reference in New Issue
Block a user