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
-9
View File
@@ -7,15 +7,6 @@
* Distribution of this work is permitted, but commercial use and
* modifications are strictly prohibited.
*/
/*
* Copyright 2026 Oleg Borodin <onborodin@gmail.com>
*
* This work is published and licensed under a Creative Commons
* Attribution-NonCommercial-NoDerivatives 4.0 International License.
*
* Distribution of this work is permitted, but commercial use and
* modifications are strictly prohibited.
*/
/*
* Это произведение распространяется под лицензией Creative Commons
+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)