Documentation
¶
Index ¶
- func New(path string, children []proto.IRoutable) proto.IRouter
- type Router
- func (self *Router) AddChildren(children []proto.IRoutable)
- func (self *Router) Children() []proto.IRoutable
- func (self *Router) DowncastHandler() proto.IWrappedHandler
- func (self *Router) DowncastRouter() proto.IRouter
- func (self *Router) IsRouter() bool
- func (self *Router) Method() string
- func (self *Router) Path() types.PathPttrn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Router ¶ added in v0.5.6
type Router struct { Join func(string, ...string) (string, error) // contains filtered or unexported fields }
func (*Router) AddChildren ¶ added in v0.7.0
func (*Router) DowncastHandler ¶ added in v0.7.0
func (self *Router) DowncastHandler() proto.IWrappedHandler
func (*Router) DowncastRouter ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.