forked from TrueCloudLab/frostfs-api-go
[#371] Support recent changes in NeoFS API protocol
Support: * new status codes (object, container, session); * object `Lock` message; * different signature schemes. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
a4349f6692
commit
99370889d1
41 changed files with 1139 additions and 129 deletions
8
lock/grpc/types.go
Normal file
8
lock/grpc/types.go
Normal file
|
@ -0,0 +1,8 @@
|
|||
package lock
|
||||
|
||||
import refs "github.com/nspcc-dev/neofs-api-go/v2/refs/grpc"
|
||||
|
||||
// SetMembers sets `members` field.
|
||||
func (x *Lock) SetMembers(ids []*refs.ObjectID) {
|
||||
x.Members = ids
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue