Documentation ¶
Overview ¶
Package mock_infra is a generated GoMock package.
Index ¶
- type MockVerifier
- func (m *MockVerifier) EXPECT() *MockVerifierMockRecorder
- func (m *MockVerifier) Verify(arg0 context.Context, arg1 *crypto.SignedMessage, arg2 ...[]byte) (*signed.Message, error)
- func (m *MockVerifier) WithIA(arg0 addr.IA) infra.Verifier
- func (m *MockVerifier) WithServer(arg0 net.Addr) infra.Verifier
- type MockVerifierMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockVerifier ¶
type MockVerifier struct {
// contains filtered or unexported fields
}
MockVerifier is a mock of Verifier interface.
func NewMockVerifier ¶
func NewMockVerifier(ctrl *gomock.Controller) *MockVerifier
NewMockVerifier creates a new mock instance.
func (*MockVerifier) EXPECT ¶
func (m *MockVerifier) EXPECT() *MockVerifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVerifier) Verify ¶
func (m *MockVerifier) Verify(arg0 context.Context, arg1 *crypto.SignedMessage, arg2 ...[]byte) (*signed.Message, error)
Verify mocks base method.
func (*MockVerifier) WithIA ¶
func (m *MockVerifier) WithIA(arg0 addr.IA) infra.Verifier
WithIA mocks base method.
func (*MockVerifier) WithServer ¶
func (m *MockVerifier) WithServer(arg0 net.Addr) infra.Verifier
WithServer mocks base method.
type MockVerifierMockRecorder ¶
type MockVerifierMockRecorder struct {
// contains filtered or unexported fields
}
MockVerifierMockRecorder is the mock recorder for MockVerifier.
func (*MockVerifierMockRecorder) Verify ¶
func (mr *MockVerifierMockRecorder) Verify(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Verify indicates an expected call of Verify.
func (*MockVerifierMockRecorder) WithIA ¶
func (mr *MockVerifierMockRecorder) WithIA(arg0 interface{}) *gomock.Call
WithIA indicates an expected call of WithIA.
func (*MockVerifierMockRecorder) WithServer ¶
func (mr *MockVerifierMockRecorder) WithServer(arg0 interface{}) *gomock.Call
WithServer indicates an expected call of WithServer.
Click to show internal directories.
Click to hide internal directories.