service: get rid of signature field in container + proto generate

This commit is contained in:
Evgeniy Kulikov 2019-11-26 15:54:27 +03:00
parent 5fa7d72bba
commit 14f85ced84
No known key found for this signature in database
GPG key ID: BF6AEE0A2A699BF2
3 changed files with 37 additions and 158 deletions

View file

@ -25,12 +25,6 @@ const (
ErrNotFound = internal.Error("could not find container")
)
// 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.
func (m *PutRequest) PrepareData() ([]byte, error) {
var (