working commit

This commit is contained in:
2026-02-12 13:10:12 +02:00
parent 048ad1139f
commit a9526f73a2
4 changed files with 154 additions and 11 deletions
+7 -1
View File
@@ -101,9 +101,15 @@ func (svc *Service) Build() error {
svc.rout.Post(`/v3/account/create`, svc.hand.CreateAccount)
svc.rout.Post(`/v3/account/get`, svc.hand.GetAccount)
svc.rout.Post(`/v3/accounts/list`, svc.hand.ListAccounts)
svc.rout.Post(`/v3/account/update`, svc.hand.UpdateAccount)
svc.rout.Post(`/v3/account/delete`, svc.hand.DeleteAccount)
svc.rout.Post(`/v3/accounts/list`, svc.hand.ListAccounts)
svc.rout.Post(`/v3/grant/create`, svc.hand.CreateGrant)
svc.rout.Post(`/v3/grant/get`, svc.hand.GetGrant)
svc.rout.Post(`/v3/grant/update`, svc.hand.UpdateGrant)
svc.rout.Post(`/v3/grant/delete`, svc.hand.DeleteGrant)
svc.rout.Post(`/v3/grants/list`, svc.hand.ListGrants)
svc.rout.NotFound(svc.hand.NotFound)