Documentation ¶
Index ¶
- type Routable
- type RoutePair
- type Router
- func (R *Router) AddRoute(path string, thing interface{}) error
- func (R *Router) AddRouteHandler(path string, handler mux.Handler) error
- func (R *Router) AddRouteHandlerFunc(path string, handler mux.HandlerFunc) error
- func (R *Router) AddRouteLayout(path string, layout tview.Primitive) error
- func (R *Router) SetActive(path string, context map[string]interface{})
- func (R *Router) SetNotFound(layout tview.Primitive)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
func (*Router) AddRouteHandler ¶
func (*Router) AddRouteHandlerFunc ¶
func (R *Router) AddRouteHandlerFunc(path string, handler mux.HandlerFunc) error
func (*Router) AddRouteLayout ¶
func (*Router) SetNotFound ¶
Click to show internal directories.
Click to hide internal directories.