Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BarController ¶
type BarController struct {
jwt.Controller
}
func (*BarController) Get ¶
func (c *BarController) Get(ctx *web.Context)
type FooController ¶
type FooController struct { web.Controller // contains filtered or unexported fields }
func (*FooController) After ¶
func (c *FooController) After(ctx *web.Context)
func (*FooController) Before ¶
func (c *FooController) Before(ctx *web.Context)
func (*FooController) Get ¶
func (c *FooController) Get(ctx *web.Context)
func (*FooController) Init ¶ added in v0.5.0
func (c *FooController) Init(jwtToken jwt.Token)
func (*FooController) Post ¶
func (c *FooController) Post(ctx *web.Context)
func (*FooController) PostLogin ¶
func (c *FooController) PostLogin(ctx *web.Context)
Post login The first word of method is the http method POST, the rest is the context mapping
type FooRequest ¶
type FooResponse ¶
Click to show internal directories.
Click to hide internal directories.