Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouterChain ¶
type RouterChain struct {
// contains filtered or unexported fields
}
RouterChain Router chain
func NewRouterChain ¶
func NewRouterChain(url *common.URL) (*RouterChain, error)
NewRouterChain Use url to init router chain Loop routerFactories and call NewRouter method
func (*RouterChain) AddRouters ¶
func (c *RouterChain) AddRouters(routers []router.Router)
AddRouters Add routers to router chain New a array add builtinRouters which is not sorted in RouterChain and routers Sort the array Replace router array in RouterChain
Click to show internal directories.
Click to hide internal directories.