Versions in this module Expand all Collapse all v0 v0.1.0 Nov 3, 2023 Changes in this version + type App struct + func MakeApp() App + func (app *App) DELETE(path string, handler func(ctx Context)) error + func (app *App) GET(path string, handler func(ctx Context)) error + func (app *App) Group(path string) Group + func (app *App) HEAD(path string, handler func(ctx Context)) error + func (app *App) OPTIONS(path string, handler func(ctx Context)) error + func (app *App) PATCH(path string, handler func(ctx Context)) error + func (app *App) POST(path string, handler func(ctx Context)) error + func (app *App) PUT(path string, handler func(ctx Context)) error + func (app *App) Routes() *router.Routes + func (app *App) Serve(port string) + type Context struct + Request CtxRequest + Response CtxResponse + type CtxRequest struct + Params CtxRequestParams + Raw *http.Request + func (ctx *CtxRequest) Body() ([]byte, error) + type CtxRequestParams struct + func (ctx *CtxRequestParams) Bool(param string) (bool, error) + func (ctx *CtxRequestParams) Float(param string) (float64, error) + func (ctx *CtxRequestParams) Int(param string) (int, error) + func (ctx *CtxRequestParams) String(param string) (string, error) + func (ctx *CtxRequestParams) UUID(param string) (string, error) + type CtxResponse struct + Raw *http.ResponseWriter + func (ctx *CtxResponse) Html(data string) + func (ctx *CtxResponse) Json(data interface{}) + func (ctx *CtxResponse) Status(code types.StatusCode) + func (ctx *CtxResponse) Text(data string) + type ErrorParamNotFound struct + Param string + func (err ErrorParamNotFound) Error() string + type ErrorParamNotIsT struct + Param string + Type string + func (err ErrorParamNotIsT) Error() string + type Group struct + func (g *Group) DELETE(path string, handler func(ctx Context)) error + func (g *Group) GET(path string, handler func(ctx Context)) error + func (g *Group) Group(path string) Group + func (g *Group) HEAD(path string, handler func(ctx Context)) error + func (g *Group) OPTIONS(path string, handler func(ctx Context)) error + func (g *Group) PATCH(path string, handler func(ctx Context)) error + func (g *Group) POST(path string, handler func(ctx Context)) error + func (g *Group) PUT(path string, handler func(ctx Context)) error