forked from TrueCloudLab/frostfs-api-go
[#265] v2/signature: Support SendLocalTrust request and response
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
3adfdc5005
commit
1766228cfd
1 changed files with 7 additions and 0 deletions
|
@ -10,6 +10,7 @@ import (
|
|||
"github.com/nspcc-dev/neofs-api-go/v2/netmap"
|
||||
"github.com/nspcc-dev/neofs-api-go/v2/object"
|
||||
"github.com/nspcc-dev/neofs-api-go/v2/refs"
|
||||
"github.com/nspcc-dev/neofs-api-go/v2/reputation"
|
||||
"github.com/nspcc-dev/neofs-api-go/v2/session"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
@ -374,5 +375,11 @@ func serviceMessageBody(req interface{}) stableMarshaler {
|
|||
return v.GetBody()
|
||||
case *netmap.NetworkInfoResponse:
|
||||
return v.GetBody()
|
||||
|
||||
/* Reputation */
|
||||
case *reputation.SendLocalTrustRequest:
|
||||
return v.GetBody()
|
||||
case *reputation.SendLocalTrustResponse:
|
||||
return v.GetBody()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue