middlewaretest

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRouter

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

Mock of Router interface

func NewMockRouter

func NewMockRouter(ctrl *gomock.Controller) *MockRouter

func (*MockRouter) Choose

func (_m *MockRouter) Choose(_param0 context.Context, _param1 *transport.Request, _param2 transport.Router) (transport.HandlerSpec, error)

func (*MockRouter) EXPECT

func (_m *MockRouter) EXPECT() *_MockRouterRecorder

func (*MockRouter) Procedures

func (_m *MockRouter) Procedures(_param0 transport.Router) []transport.Procedure

Jump to

Keyboard shortcuts

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