-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#194] object: Define payload format of LOCK objects
Define `object.Lock` message which carries list of locked objects. Require this message to be a payload of locked objects (`LOCK` type). Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
- Loading branch information
1 parent
7b83b9d
commit d6bf645
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
syntax = "proto3"; | ||
|
||
package neo.fs.v2.lock; | ||
|
||
option go_package = "github.com/nspcc-dev/neofs-api-go/v2/lock/grpc;lock"; | ||
option csharp_namespace = "Neo.FileStorage.API.Lock"; | ||
|
||
import "refs/types.proto"; | ||
|
||
// Lock keeps record of objects that are locked. | ||
message Lock { | ||
// List of objects to be locked. | ||
repeated neo.fs.v2.refs.ObjectID members = 1 [json_name = "members"]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters