Versions in this module Expand all Collapse all v1 v1.2.17 Nov 30, 2021 Changes in this version + const DebugMode + const ReleaseMode + const TestMode + func DebugPrintRoute(httpMethod, absolutePath, _ string, _ int) + func Dir(root string, listDirectory bool) http.FileSystem + func IsDebugging() bool + func LastChar(str string) uint8 + func SetHandler(e Handler) + func SetMode(value string) + type Context interface + Abort func() + Cookie func(name string) (string, error) + Deadline func() (time.Time, bool) + Done func() <-chan struct{} + Err func() error + Fail func(error) + File func(io.Reader, string, ...interface{}) + Get func(string) interface{} + GetHeader func(key string) string + GetRawData func() ([]byte, error) + HTML func(io.Reader, ...interface{}) + Header func(key, value string) + JSON func(code int, i interface{}) + MultipartForm func() (*multipart.Form, error) + Next func() + Param func(string) string + Query func(key string) string + Request func() *http.Request + ResponseWriter func() http.ResponseWriter + Set func(string, interface{}) + SetCookie func(name, value string, maxAge int, path, domain string, secure, httpOnly bool) + SetRequest func(r *http.Request) + ShouldBindWith func(interface{}) error + String func(string, ...interface{}) + Success func(interface{}) + Value func(interface{}) interface{} + XML func(io.Reader, ...interface{}) + type Error interface + Code func() uint32 + Error func() string + Status func() string + type Handler interface + Handle func(string, string, ...HandlerFunc) + Handler func() http.Handler + func MustHandler() Handler + type HandlerFunc interface + type HandlersChain []HandlerFunc + type RouterGroup struct + Handlers []HandlerFunc + func (group *RouterGroup) Group(relativePath string, handlers ...HandlerFunc) *RouterGroup + func (group *RouterGroup) Handle(httpMethod, relativePath string, handlerFuncs ...HandlerFunc) + func (group *RouterGroup) Static(relativePath, root string) + func (group *RouterGroup) StaticFS(relativePath string, fs http.FileSystem) + func (group *RouterGroup) Use(middleware ...HandlerFunc) + type Web struct + func New() *Web + func (w *Web) Run(addr ...string) error + func (w *Web) ServeHTTP(rwr http.ResponseWriter, req *http.Request)