Documentation ¶
Overview ¶
Package syncmock is a generated GoMock package.
Index ¶
- type NetworkClient
- func (m *NetworkClient) AppRequestFailed(arg0 context.Context, arg1 ids.NodeID, arg2 uint32) error
- func (m *NetworkClient) AppResponse(arg0 context.Context, arg1 ids.NodeID, arg2 uint32, arg3 []byte) error
- func (m *NetworkClient) Connected(arg0 context.Context, arg1 ids.NodeID, arg2 *version.Application) error
- func (m *NetworkClient) Disconnected(arg0 context.Context, arg1 ids.NodeID) error
- func (m *NetworkClient) EXPECT() *NetworkClientMockRecorder
- func (m *NetworkClient) Request(arg0 context.Context, arg1 ids.NodeID, arg2 []byte) ([]byte, error)
- func (m *NetworkClient) RequestAny(arg0 context.Context, arg1 []byte) (ids.NodeID, []byte, error)
- type NetworkClientMockRecorder
- func (mr *NetworkClientMockRecorder) AppRequestFailed(arg0, arg1, arg2 any) *gomock.Call
- func (mr *NetworkClientMockRecorder) AppResponse(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *NetworkClientMockRecorder) Connected(arg0, arg1, arg2 any) *gomock.Call
- func (mr *NetworkClientMockRecorder) Disconnected(arg0, arg1 any) *gomock.Call
- func (mr *NetworkClientMockRecorder) Request(arg0, arg1, arg2 any) *gomock.Call
- func (mr *NetworkClientMockRecorder) RequestAny(arg0, arg1 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkClient ¶
type NetworkClient struct {
// contains filtered or unexported fields
}
NetworkClient is a mock of NetworkClient interface.
func NewNetworkClient ¶
func NewNetworkClient(ctrl *gomock.Controller) *NetworkClient
NewNetworkClient creates a new mock instance.
func (*NetworkClient) AppRequestFailed ¶
AppRequestFailed mocks base method.
func (*NetworkClient) AppResponse ¶
func (m *NetworkClient) AppResponse(arg0 context.Context, arg1 ids.NodeID, arg2 uint32, arg3 []byte) error
AppResponse mocks base method.
func (*NetworkClient) Connected ¶
func (m *NetworkClient) Connected(arg0 context.Context, arg1 ids.NodeID, arg2 *version.Application) error
Connected mocks base method.
func (*NetworkClient) Disconnected ¶
Disconnected mocks base method.
func (*NetworkClient) EXPECT ¶
func (m *NetworkClient) EXPECT() *NetworkClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*NetworkClient) RequestAny ¶
RequestAny mocks base method.
type NetworkClientMockRecorder ¶
type NetworkClientMockRecorder struct {
// contains filtered or unexported fields
}
NetworkClientMockRecorder is the mock recorder for NetworkClient.
func (*NetworkClientMockRecorder) AppRequestFailed ¶
func (mr *NetworkClientMockRecorder) AppRequestFailed(arg0, arg1, arg2 any) *gomock.Call
AppRequestFailed indicates an expected call of AppRequestFailed.
func (*NetworkClientMockRecorder) AppResponse ¶
func (mr *NetworkClientMockRecorder) AppResponse(arg0, arg1, arg2, arg3 any) *gomock.Call
AppResponse indicates an expected call of AppResponse.
func (*NetworkClientMockRecorder) Connected ¶
func (mr *NetworkClientMockRecorder) Connected(arg0, arg1, arg2 any) *gomock.Call
Connected indicates an expected call of Connected.
func (*NetworkClientMockRecorder) Disconnected ¶
func (mr *NetworkClientMockRecorder) Disconnected(arg0, arg1 any) *gomock.Call
Disconnected indicates an expected call of Disconnected.
func (*NetworkClientMockRecorder) Request ¶
func (mr *NetworkClientMockRecorder) Request(arg0, arg1, arg2 any) *gomock.Call
Request indicates an expected call of Request.
func (*NetworkClientMockRecorder) RequestAny ¶
func (mr *NetworkClientMockRecorder) RequestAny(arg0, arg1 any) *gomock.Call
RequestAny indicates an expected call of RequestAny.