Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Commit

Permalink
service: get rid of proto.Message in Maintainable/Verifiable requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeniy Kulikov committed Dec 5, 2019
1 parent 173f036 commit 891ba27
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions service/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package service
import (
"crypto/ecdsa"

"github.com/gogo/protobuf/proto"
crypto "github.com/nspcc-dev/neofs-crypto"
"github.com/nspcc-dev/neofs-proto/internal"
"github.com/nspcc-dev/neofs-proto/refs"
Expand All @@ -13,7 +12,6 @@ import (
type (
// VerifiableRequest adds possibility to sign and verify request header.
VerifiableRequest interface {
proto.Message
Marshal() ([]byte, error)
AddSignature(*RequestVerificationHeader_Signature)
GetSignatures() []*RequestVerificationHeader_Signature
Expand All @@ -23,7 +21,6 @@ type (
// MaintainableRequest adds possibility to set and get (+validate)
// owner (client) public key from RequestVerificationHeader.
MaintainableRequest interface {
proto.Message
GetOwner() (*ecdsa.PublicKey, error)
SetOwner(*ecdsa.PublicKey, []byte)
GetLastPeer() (*ecdsa.PublicKey, error)
Expand Down

0 comments on commit 891ba27

Please sign in to comment.