mocks

package
v4.1.7 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

type Router struct {
	mock.Mock
}

Router is an autogenerated mock type for the Router type

func NewRouter

func NewRouter(t mockConstructorTestingTNewRouter) *Router

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

func (*Router) Handle

func (_m *Router) Handle(_a0 context.Context, server *runtime.ServeMux, client *grpc.ClientConn)

Handle provides a mock function with given fields: _a0, server, client

func (*Router) Priority

func (_m *Router) 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