forked from TrueCloudLab/frostfs-rest-gw
[#33] Add route to get NeoFS balance
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
aaf7433c7b
commit
6e01a0ead7
9 changed files with 530 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue