feat: add package creation and clone validation
This commit is contained in:
@@ -41,6 +41,7 @@ func main() {
|
||||
}
|
||||
|
||||
mux := http.NewServeMux()
|
||||
mux.Handle("POST /api/cpone/paket", protected(http.HandlerFunc(handler.CreatePaket)))
|
||||
mux.Handle("GET /api/cpone/paket", protected(http.HandlerFunc(handler.ListPaket)))
|
||||
mux.Handle("GET /api/cpone/paket/{id}", protected(http.HandlerFunc(handler.GetPaket)))
|
||||
mux.Handle("GET /api/cpone/layanan", protected(http.HandlerFunc(handler.ListLayanan)))
|
||||
|
||||
Reference in New Issue
Block a user