Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrorPolarisServiceRouteRuleEmpty = errors.New("service route rule is empty")
)
Functions ¶
func NewPolarisRouterFactory ¶
func NewPolarisRouterFactory() router.PriorityRouterFactory
NewPolarisRouterFactory constructs a new PriorityRouterFactory
Types ¶
type RouteFactory ¶
type RouteFactory struct{}
RouteFactory router factory
func (*RouteFactory) NewPriorityRouter ¶
func (f *RouteFactory) NewPriorityRouter() (router.PriorityRouter, error)
NewPriorityRouter construct a new PriorityRouter
Click to show internal directories.
Click to hide internal directories.