[#33] Add route to get NeoFS balance

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2022-07-28 19:57:40 +03:00 committed by Alex Vanin
parent aaf7433c7b
commit 6e01a0ead7
9 changed files with 530 additions and 0 deletions

View file

@ -80,6 +80,8 @@ func (a *API) Configure(api *operations.NeofsRestGwAPI) http.Handler {
api.AuthHandler = operations.AuthHandlerFunc(a.PostAuth)
api.GetBalanceHandler = operations.GetBalanceHandlerFunc(a.Balance)
api.PutObjectHandler = operations.PutObjectHandlerFunc(a.PutObjects)
api.GetObjectInfoHandler = operations.GetObjectInfoHandlerFunc(a.GetObjectInfo)
api.DeleteObjectHandler = operations.DeleteObjectHandlerFunc(a.DeleteObject)