Documentation ¶ Index ¶ type Route func Decode(route string) (*Route, error) func New(nodeType, handleName, method string) *Route func NewByName(routeName string) *Route func (r *Route) HandleName() string func (r *Route) Method() string func (r *Route) NodeType() string func (r *Route) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Route ¶ type Route struct { // contains filtered or unexported fields } Route struct func Decode ¶ func Decode(route string) (*Route, error) Decode decodes the route func New ¶ func New(nodeType, handleName, method string) *Route New create a new route func NewByName ¶ func NewByName(routeName string) *Route func (*Route) HandleName ¶ added in v1.1.0 func (r *Route) HandleName() string func (*Route) Method ¶ func (r *Route) Method() string func (*Route) NodeType ¶ func (r *Route) NodeType() string func (*Route) String ¶ func (r *Route) String() string String transforms the route into a string Source Files ¶ View all Source files route.go Click to show internal directories. Click to hide internal directories.