feat: add start endpoint

This commit is contained in:
Saw-jan
2024-07-09 11:48:03 +05:45
parent 3306a1f277
commit 733f1852ea
3 changed files with 28 additions and 1 deletions
+1
View File
@@ -26,6 +26,7 @@ func Start(port string) {
mux.HandleFunc("/rollback", handlers.RollbackHandler)
mux.HandleFunc("/command", handlers.CommandHandler)
mux.HandleFunc("/stop", handlers.StopOcisHandler)
mux.HandleFunc("/start", handlers.StartOcisHandler)
httpServer.Handler = mux