Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ApiDelete = wc.GET("ApiDelete", "/api/delete/%s", PathArgs.ID)
View Source
var ApiList = wc.GET("ApiList", "/api/list/").SetArgs(QueryArgs.OrderBy)
View Source
var ApiPatch = wc.PATCH("ApiPatch", "/api/patch/%s", PathArgs.ID)
View Source
var ApiPut = wc.PUT("ApiPut", "/api/put/")
View Source
var HtmlEdit = wc.GET("HtmlEdit", "/html/edit/%s", PathArgs.ID). SetArgs(QueryArgs.Limit, QueryArgs.OrderBy, QueryArgs.Page)
View Source
var HtmlList = wc.GET("HtmlList", "/html/list/").SetArgs(QueryArgs.Limit, QueryArgs.OrderBy, QueryArgs.Page)
View Source
var Model = &model{}
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", "/category")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.