Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockstreamRequester
- type MockstreamRequesterMockRecorder
- type MockstreamRequesterStreamRequestCall
- type Mockverifier
- type MockverifierMockRecorder
- type MockverifierVerifyCall
- func (c *MockverifierVerifyCall) Do(f func(signing.Domain, types.NodeID, []byte, types.EdSignature) bool) *MockverifierVerifyCall
- func (c *MockverifierVerifyCall) DoAndReturn(f func(signing.Domain, types.NodeID, []byte, types.EdSignature) bool) *MockverifierVerifyCall
- func (c *MockverifierVerifyCall) Return(arg0 bool) *MockverifierVerifyCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockstreamRequester ¶
type MockstreamRequester struct {
// contains filtered or unexported fields
}
MockstreamRequester is a mock of streamRequester interface.
func NewMockstreamRequester ¶
func NewMockstreamRequester(ctrl *gomock.Controller) *MockstreamRequester
NewMockstreamRequester creates a new mock instance.
func (*MockstreamRequester) EXPECT ¶
func (m *MockstreamRequester) EXPECT() *MockstreamRequesterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockstreamRequester) StreamRequest ¶
func (m *MockstreamRequester) StreamRequest(arg0 context.Context, arg1 p2p.Peer, arg2 []byte, arg3 server.StreamRequestCallback, arg4 ...string) error
StreamRequest mocks base method.
type MockstreamRequesterMockRecorder ¶
type MockstreamRequesterMockRecorder struct {
// contains filtered or unexported fields
}
MockstreamRequesterMockRecorder is the mock recorder for MockstreamRequester.
func (*MockstreamRequesterMockRecorder) StreamRequest ¶
func (mr *MockstreamRequesterMockRecorder) StreamRequest(arg0, arg1, arg2, arg3 any, arg4 ...any) *MockstreamRequesterStreamRequestCall
StreamRequest indicates an expected call of StreamRequest.
type MockstreamRequesterStreamRequestCall ¶
MockstreamRequesterStreamRequestCall wrap *gomock.Call
func (*MockstreamRequesterStreamRequestCall) Do ¶
func (c *MockstreamRequesterStreamRequestCall) Do(f func(context.Context, p2p.Peer, []byte, server.StreamRequestCallback, ...string) error) *MockstreamRequesterStreamRequestCall
Do rewrite *gomock.Call.Do
func (*MockstreamRequesterStreamRequestCall) DoAndReturn ¶
func (c *MockstreamRequesterStreamRequestCall) DoAndReturn(f func(context.Context, p2p.Peer, []byte, server.StreamRequestCallback, ...string) error) *MockstreamRequesterStreamRequestCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockstreamRequesterStreamRequestCall) Return ¶
func (c *MockstreamRequesterStreamRequestCall) Return(arg0 error) *MockstreamRequesterStreamRequestCall
Return rewrite *gomock.Call.Return
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.
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, arg2, arg3 any) *MockverifierVerifyCall
Verify indicates an expected call of Verify.
type MockverifierVerifyCall ¶
MockverifierVerifyCall wrap *gomock.Call
func (*MockverifierVerifyCall) Do ¶
func (c *MockverifierVerifyCall) Do(f func(signing.Domain, types.NodeID, []byte, types.EdSignature) bool) *MockverifierVerifyCall
Do rewrite *gomock.Call.Do
func (*MockverifierVerifyCall) DoAndReturn ¶
func (c *MockverifierVerifyCall) DoAndReturn(f func(signing.Domain, types.NodeID, []byte, types.EdSignature) bool) *MockverifierVerifyCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockverifierVerifyCall) Return ¶
func (c *MockverifierVerifyCall) Return(arg0 bool) *MockverifierVerifyCall
Return rewrite *gomock.Call.Return