Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ApiDelete = Router.GET("/api/delete/%s")
View Source
var ApiList = Router.GET("/api/list/")
View Source
var ApiPatch = Router.PATCH("/api/patch/%s")
View Source
var ApiPut = Router.PUT("/api/put/")
View Source
var CookieArgs = struct { ATest wc.CookieArg }{ wc.NewCookieArg("atest"), }
View Source
var HeaderArgs = struct { MyTest wc.HeaderArg }{ wc.NewHeaderArg("X-Mytest"), }
View Source
var HtmlEdit = Router.GET("/html/edit/%s")
View Source
var HtmlList = Router.GET("/html/list/")
View Source
var PathArgs = struct { ID wc.PathArg }{ wc.NewPathArg("id"), }
View Source
var QueryArgs = struct { Limit wc.QueryArgOpt OrderBy wc.QueryArgOpt Page wc.QueryArgOpt }{ wc.NewQueryArgOpt("limit").Int(), wc.NewQueryArgOpt("orderby").String(), wc.NewQueryArgOpt("page").Int(), }
View Source
var Router = wc.New("Category", StartContext).SetVerbose()
Functions ¶
This section is empty.
Types ¶
type Context ¶ added in v0.11.0
type Context struct { *wc.CoreContext Store *model.Store }
func StartContext ¶ added in v0.11.0
Click to show internal directories.
Click to hide internal directories.