Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type PublicKey
- type PublicKeyMockRecorder
- func (mr *PublicKeyMockRecorder) Aggregate(p2 interface{}) *gomock.Call
- func (mr *PublicKeyMockRecorder) Copy() *gomock.Call
- func (mr *PublicKeyMockRecorder) Equals(p2 interface{}) *gomock.Call
- func (mr *PublicKeyMockRecorder) IsInfinite() *gomock.Call
- func (mr *PublicKeyMockRecorder) Marshal() *gomock.Call
- type SecretKey
- type SecretKeyMockRecorder
- type Signature
- func (m *Signature) AggregateVerify(pubKeys []common.PublicKey, msgs [][32]byte) bool
- func (m *Signature) Copy() common.Signature
- func (m *Signature) EXPECT() *SignatureMockRecorder
- func (m *Signature) Eth2FastAggregateVerify(pubKeys []common.PublicKey, msg [32]byte) bool
- func (m *Signature) FastAggregateVerify(pubKeys []common.PublicKey, msg [32]byte) bool
- func (m *Signature) Marshal() []byte
- func (m *Signature) Verify(pubKey common.PublicKey, msg []byte) bool
- type SignatureMockRecorder
- func (mr *SignatureMockRecorder) AggregateVerify(pubKeys, msgs interface{}) *gomock.Call
- func (mr *SignatureMockRecorder) Copy() *gomock.Call
- func (mr *SignatureMockRecorder) Eth2FastAggregateVerify(pubKeys, msg interface{}) *gomock.Call
- func (mr *SignatureMockRecorder) FastAggregateVerify(pubKeys, msg interface{}) *gomock.Call
- func (mr *SignatureMockRecorder) Marshal() *gomock.Call
- func (mr *SignatureMockRecorder) Verify(pubKey, msg interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublicKey ¶
type PublicKey struct {
// contains filtered or unexported fields
}
MockPublicKey is a mock of PublicKey interface.
func NewPublicKey ¶
func NewPublicKey(ctrl *gomock.Controller) *PublicKey
NewPublicKey creates a new mock instance.
func (*PublicKey) EXPECT ¶
func (m *PublicKey) EXPECT() *PublicKeyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type PublicKeyMockRecorder ¶
type PublicKeyMockRecorder struct {
// contains filtered or unexported fields
}
MockPublicKeyMockRecorder is the mock recorder for MockPublicKey.
func (*PublicKeyMockRecorder) Aggregate ¶
func (mr *PublicKeyMockRecorder) Aggregate(p2 interface{}) *gomock.Call
Aggregate indicates an expected call of Aggregate.
func (*PublicKeyMockRecorder) Copy ¶
func (mr *PublicKeyMockRecorder) Copy() *gomock.Call
Copy indicates an expected call of Copy.
func (*PublicKeyMockRecorder) Equals ¶
func (mr *PublicKeyMockRecorder) Equals(p2 interface{}) *gomock.Call
Equals indicates an expected call of Equals.
func (*PublicKeyMockRecorder) IsInfinite ¶
func (mr *PublicKeyMockRecorder) IsInfinite() *gomock.Call
IsInfinite indicates an expected call of IsInfinite.
func (*PublicKeyMockRecorder) Marshal ¶
func (mr *PublicKeyMockRecorder) Marshal() *gomock.Call
Marshal indicates an expected call of Marshal.
type SecretKey ¶
type SecretKey struct {
// contains filtered or unexported fields
}
MockSecretKey is a mock of SecretKey interface.
func NewSecretKey ¶
func NewSecretKey(ctrl *gomock.Controller) *SecretKey
NewSecretKey creates a new mock instance.
func (*SecretKey) EXPECT ¶
func (m *SecretKey) EXPECT() *SecretKeyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type SecretKeyMockRecorder ¶
type SecretKeyMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretKeyMockRecorder is the mock recorder for MockSecretKey.
func (*SecretKeyMockRecorder) Marshal ¶
func (mr *SecretKeyMockRecorder) Marshal() *gomock.Call
Marshal indicates an expected call of Marshal.
func (*SecretKeyMockRecorder) PublicKey ¶
func (mr *SecretKeyMockRecorder) PublicKey() *gomock.Call
PublicKey indicates an expected call of PublicKey.
func (*SecretKeyMockRecorder) Sign ¶
func (mr *SecretKeyMockRecorder) Sign(msg interface{}) *gomock.Call
Sign indicates an expected call of Sign.
type Signature ¶
type Signature struct {
// contains filtered or unexported fields
}
MockSignature is a mock of Signature interface.
func NewSignature ¶
func NewSignature(ctrl *gomock.Controller) *Signature
NewSignature creates a new mock instance.
func (*Signature) AggregateVerify ¶
AggregateVerify mocks base method.
func (*Signature) EXPECT ¶
func (m *Signature) EXPECT() *SignatureMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Signature) Eth2FastAggregateVerify ¶
Eth2FastAggregateVerify mocks base method.
func (*Signature) FastAggregateVerify ¶
FastAggregateVerify mocks base method.
type SignatureMockRecorder ¶
type SignatureMockRecorder struct {
// contains filtered or unexported fields
}
MockSignatureMockRecorder is the mock recorder for MockSignature.
func (*SignatureMockRecorder) AggregateVerify ¶
func (mr *SignatureMockRecorder) AggregateVerify(pubKeys, msgs interface{}) *gomock.Call
AggregateVerify indicates an expected call of AggregateVerify.
func (*SignatureMockRecorder) Copy ¶
func (mr *SignatureMockRecorder) Copy() *gomock.Call
Copy indicates an expected call of Copy.
func (*SignatureMockRecorder) Eth2FastAggregateVerify ¶
func (mr *SignatureMockRecorder) Eth2FastAggregateVerify(pubKeys, msg interface{}) *gomock.Call
Eth2FastAggregateVerify indicates an expected call of Eth2FastAggregateVerify.
func (*SignatureMockRecorder) FastAggregateVerify ¶
func (mr *SignatureMockRecorder) FastAggregateVerify(pubKeys, msg interface{}) *gomock.Call
FastAggregateVerify indicates an expected call of FastAggregateVerify.
func (*SignatureMockRecorder) Marshal ¶
func (mr *SignatureMockRecorder) Marshal() *gomock.Call
Marshal indicates an expected call of Marshal.
func (*SignatureMockRecorder) Verify ¶
func (mr *SignatureMockRecorder) Verify(pubKey, msg interface{}) *gomock.Call
Verify indicates an expected call of Verify.