mock

package
v0.0.0-...-4d3f714 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 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 RouterMock

type RouterMock struct {
	mock.Mock
}

RouterMock ..

func (*RouterMock) FetchRouteRule

func (m *RouterMock) FetchRouteRule() map[string][]*model.RouteRule

FetchRouteRule ..

func (*RouterMock) FetchRouteRuleByServiceName

func (m *RouterMock) FetchRouteRuleByServiceName(s string) []*model.RouteRule

FetchRouteRuleByServiceName ..

func (*RouterMock) Init

func (m *RouterMock) Init(router.Options) error

Init ..

func (*RouterMock) InitRouteRuleByKey

func (m *RouterMock) InitRouteRuleByKey(k string)

InitRouteRuleByKey ..

func (*RouterMock) SetRouteRule

func (m *RouterMock) SetRouteRule(map[string][]*model.RouteRule)

SetRouteRule ..

Jump to

Keyboard shortcuts

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