mocks

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reverser

type Reverser struct {
	mock.Mock
}

Reverser is an autogenerated mock type for the Reverser type

func NewReverser

func NewReverser(t interface {
	mock.TestingT
	Cleanup(func())
}) *Reverser

NewReverser creates a new instance of Reverser. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Reverser) Auth

func (_m *Reverser) Auth(ctx context.Context, token string, connPath string) error

Auth provides a mock function with given fields: ctx, token, connPath

func (*Reverser) NewListener

func (_m *Reverser) NewListener() (*revdial.Listener, error)

NewListener provides a mock function with no fields

Jump to

Keyboard shortcuts

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