Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionHandler ¶
func ActionHandler(ctx Ctx)
Types ¶
type ActionArgs ¶
type ActionArgs []string
type CtxBuilder ¶
type HandlerFunc ¶
type HandlerFunc func(Ctx)
type Potto ¶
func (*Potto) AddRoute ¶
func (p *Potto) AddRoute(method, path string, hf HandlerFunc)
func (*Potto) NewContext ¶
func (*Potto) SetCtxBuilder ¶
func (p *Potto) SetCtxBuilder(f CtxBuilder)
Click to show internal directories.
Click to hide internal directories.