mocks

package
v0.21.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL