forked from TrueCloudLab/frostfs-api-go
service: get rid of signature field in accounting + proto generate
This commit is contained in:
parent
ab70f84999
commit
5fa7d72bba
3 changed files with 0 additions and 10 deletions
|
@ -11,12 +11,6 @@ type (
|
||||||
MessageID = refs.MessageID
|
MessageID = refs.MessageID
|
||||||
)
|
)
|
||||||
|
|
||||||
// SetSignature sets signature to PutRequest to satisfy SignedRequest interface.
|
|
||||||
func (m *PutRequest) SetSignature(v []byte) { m.Signature = v }
|
|
||||||
|
|
||||||
// SetSignature sets signature to DeleteRequest to satisfy SignedRequest interface.
|
|
||||||
func (m *DeleteRequest) SetSignature(v []byte) { m.Signature = v }
|
|
||||||
|
|
||||||
// PrepareData prepares bytes representation of PutRequest to satisfy SignedRequest interface.
|
// PrepareData prepares bytes representation of PutRequest to satisfy SignedRequest interface.
|
||||||
func (m *PutRequest) PrepareData() ([]byte, error) {
|
func (m *PutRequest) PrepareData() ([]byte, error) {
|
||||||
var offset int
|
var offset int
|
||||||
|
|
Binary file not shown.
|
@ -59,8 +59,6 @@ message PutRequest {
|
||||||
uint64 Height = 3;
|
uint64 Height = 3;
|
||||||
// MessageID is a nonce for uniq request (UUIDv4)
|
// MessageID is a nonce for uniq request (UUIDv4)
|
||||||
bytes MessageID = 4 [(gogoproto.customtype) = "MessageID", (gogoproto.nullable) = false];
|
bytes MessageID = 4 [(gogoproto.customtype) = "MessageID", (gogoproto.nullable) = false];
|
||||||
// Signature is a signature of the sent request
|
|
||||||
bytes Signature = 5;
|
|
||||||
// RequestMetaHeader contains information about request meta headers (should be embedded into message)
|
// RequestMetaHeader contains information about request meta headers (should be embedded into message)
|
||||||
service.RequestMetaHeader Meta = 98 [(gogoproto.embed) = true, (gogoproto.nullable) = false];
|
service.RequestMetaHeader Meta = 98 [(gogoproto.embed) = true, (gogoproto.nullable) = false];
|
||||||
// RequestVerificationHeader is a set of signatures of every NeoFS Node that processed request (should be embedded into message)
|
// RequestVerificationHeader is a set of signatures of every NeoFS Node that processed request (should be embedded into message)
|
||||||
|
@ -92,8 +90,6 @@ message DeleteRequest {
|
||||||
bytes OwnerID = 2 [(gogoproto.customtype) = "OwnerID", (gogoproto.nullable) = false];
|
bytes OwnerID = 2 [(gogoproto.customtype) = "OwnerID", (gogoproto.nullable) = false];
|
||||||
// MessageID is a nonce for uniq request (UUIDv4)
|
// MessageID is a nonce for uniq request (UUIDv4)
|
||||||
bytes MessageID = 3 [(gogoproto.customtype) = "MessageID", (gogoproto.nullable) = false];
|
bytes MessageID = 3 [(gogoproto.customtype) = "MessageID", (gogoproto.nullable) = false];
|
||||||
// Signature is a signature of the sent request
|
|
||||||
bytes Signature = 4;
|
|
||||||
// RequestMetaHeader contains information about request meta headers (should be embedded into message)
|
// RequestMetaHeader contains information about request meta headers (should be embedded into message)
|
||||||
service.RequestMetaHeader Meta = 98 [(gogoproto.embed) = true, (gogoproto.nullable) = false];
|
service.RequestMetaHeader Meta = 98 [(gogoproto.embed) = true, (gogoproto.nullable) = false];
|
||||||
// RequestVerificationHeader is a set of signatures of every NeoFS Node that processed request (should be embedded into message)
|
// RequestVerificationHeader is a set of signatures of every NeoFS Node that processed request (should be embedded into message)
|
||||||
|
|
Loading…
Reference in a new issue