mock

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRelayProvider

type MockRelayProvider struct {
	// contains filtered or unexported fields
}

MockRelayProvider is a mock of RelayProvider interface.

func NewMockRelayProvider

func NewMockRelayProvider(ctrl *gomock.Controller) *MockRelayProvider

NewMockRelayProvider creates a new mock instance.

func (*MockRelayProvider) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRelayProvider) RelaySocketToTCP

func (m *MockRelayProvider) RelaySocketToTCP(arg0 context.Context, arg1, arg2 string, arg3 *tls.Config) error

RelaySocketToTCP mocks base method.

func (*MockRelayProvider) RelayTCPToSocket

func (m *MockRelayProvider) RelayTCPToSocket(arg0 context.Context, arg1 string, arg2 *tls.Config, arg3 string) (int, error)

RelayTCPToSocket mocks base method.

type MockRelayProviderMockRecorder

type MockRelayProviderMockRecorder struct {
	// contains filtered or unexported fields
}

MockRelayProviderMockRecorder is the mock recorder for MockRelayProvider.

func (*MockRelayProviderMockRecorder) RelaySocketToTCP

func (mr *MockRelayProviderMockRecorder) RelaySocketToTCP(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

RelaySocketToTCP indicates an expected call of RelaySocketToTCP.

func (*MockRelayProviderMockRecorder) RelayTCPToSocket

func (mr *MockRelayProviderMockRecorder) RelayTCPToSocket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

RelayTCPToSocket indicates an expected call of RelayTCPToSocket.

Jump to

Keyboard shortcuts

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