mocks

package
v4.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

type Listener struct {
	mock.Mock
}

Listener is an autogenerated mock type for the Listener type

func NewListener

func NewListener(t mockConstructorTestingTNewListener) *Listener

NewListener creates a new instance of Listener. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Listener) Handle

func (_m *Listener) Handle(event interface{}) interface{}

Handle provides a mock function with given fields: event

func (*Listener) Listen

func (_m *Listener) Listen() string

Listen provides a mock function with given fields:

func (*Listener) Priority

func (_m *Listener) Priority() int

Priority provides a mock function with given fields:

Jump to

Keyboard shortcuts

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