forked from TrueCloudLab/frostfs-api-go
docs: add refs proto documentation
This commit is contained in:
parent
1383aabfa5
commit
811bcbd14f
1 changed files with 5 additions and 2 deletions
|
@ -9,7 +9,10 @@ option (gogoproto.stable_marshaler_all) = true;
|
||||||
option (gogoproto.stringer_all) = false;
|
option (gogoproto.stringer_all) = false;
|
||||||
option (gogoproto.goproto_stringer_all) = false;
|
option (gogoproto.goproto_stringer_all) = false;
|
||||||
|
|
||||||
|
// Address of object (container id + object id)
|
||||||
message Address {
|
message Address {
|
||||||
bytes ObjectID = 1[(gogoproto.customtype) = "ObjectID", (gogoproto.nullable) = false]; // UUID
|
// ObjectID is an object identifier
|
||||||
bytes CID = 2[(gogoproto.customtype) = "CID", (gogoproto.nullable) = false]; // sha256
|
bytes ObjectID = 1[(gogoproto.customtype) = "ObjectID", (gogoproto.nullable) = false];
|
||||||
|
// CID is container identifier
|
||||||
|
bytes CID = 2[(gogoproto.customtype) = "CID", (gogoproto.nullable) = false];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue