Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNetClient ¶
type MockNetClient struct {
// contains filtered or unexported fields
}
MockNetClient is a mock of NetClient interface.
func NewMockNetClient ¶
func NewMockNetClient(ctrl *gomock.Controller) *MockNetClient
NewMockNetClient creates a new mock instance.
func (*MockNetClient) DialTimeout ¶
func (m *MockNetClient) DialTimeout(network, address string, timeout time.Duration) (net.Conn, error)
DialTimeout mocks base method.
func (*MockNetClient) EXPECT ¶
func (m *MockNetClient) EXPECT() *MockNetClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockNetClientMockRecorder ¶
type MockNetClientMockRecorder struct {
// contains filtered or unexported fields
}
MockNetClientMockRecorder is the mock recorder for MockNetClient.
func (*MockNetClientMockRecorder) DialTimeout ¶
func (mr *MockNetClientMockRecorder) DialTimeout(network, address, timeout interface{}) *gomock.Call
DialTimeout indicates an expected call of DialTimeout.
Click to show internal directories.
Click to hide internal directories.