Versions in this module Expand all Collapse all v1 v1.0.1 Feb 17, 2022 v1.0.0 Feb 16, 2022 Changes in this version + func Log(ctx *Context) error + func Recover(ctx *Context) error + type Context struct + func (ctx *Context) Fail(data interface{}, err error) error + func (ctx *Context) Json(data interface{}, err error) error + func (ctx *Context) Success(data interface{}) error + type Engine struct + func NewEngine() *Engine + func (e *Engine) Get(pattern string, srv Service) + func (e *Engine) Group(prefix string) *RouteGroup + func (e *Engine) Run() error + func (e *Engine) ServeHTTP(writer http.ResponseWriter, request *http.Request) + type RouteGroup struct + func NewRouteGroup(prefix string, e *Engine) *RouteGroup + func (r *RouteGroup) Get(pattern string, srv Service) + func (r *RouteGroup) Use(srv Service) + type Service func(ctx *Context) error + type Tire struct + func NewTire() *Tire + func (t *Tire) AddHandler(path string, handler Service) *Tire + func (t *Tire) Display() + func (t *Tire) GetHandler(path string) Service + func (t *Tire) Level() int64