Documentation ¶
Index ¶
- type RouterMock
- func (m *RouterMock) FetchRouteRule() map[string][]*model.RouteRule
- func (m *RouterMock) FetchRouteRuleByServiceName(s string) []*model.RouteRule
- func (m *RouterMock) Init(router.Options) error
- func (m *RouterMock) InitRouteRuleByKey(k string)
- func (m *RouterMock) SetRouteRule(map[string][]*model.RouteRule)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouterMock ¶
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) InitRouteRuleByKey ¶
func (m *RouterMock) InitRouteRuleByKey(k string)
InitRouteRuleByKey ..
func (*RouterMock) SetRouteRule ¶
func (m *RouterMock) SetRouteRule(map[string][]*model.RouteRule)
SetRouteRule ..
Click to show internal directories.
Click to hide internal directories.