Versions in this module Expand all Collapse all v1 v1.0.12 Jul 30, 2025 Changes in this version + const PathFormatEcho + const PathFormatGoogleAPIs + func Var(r *http.Request, key string) (string, bool) + func Vars(r *http.Request) map[string]string + func WithDescription(desc string) interface + func WithFileSystem(fs http.FileSystem) interface + func WithFileSystemPath(root string) interface + func WithHide(hide bool) interface + func WithInterceptor(fn func(handler func(ctx Context) error) func(ctx Context) error) interface + func WithPathFormat(format PathFormat) interface + type Context interface + Attribute func(key string) interface{} + Attributes func() map[string]interface{} + Param func(name string) string + ParamNames func() []string + Request func() *http.Request + ResponseWriter func() http.ResponseWriter + SetAttribute func(key string, val interface{}) + type Interceptor func(handler func(ctx Context) error) func(ctx Context) error + type LogConfig struct + MaxBodySizeBytes int + type PathFormat int32 + type Response interface + Error func(Context) error + ReadCloser func(Context) io.ReadCloser + Status func(Context) int + type ResponseGetter interface + Response func(ctx Context) Response + type Router interface + Add func(method, path string, handler interface{}, options ...interface{}) error + Any func(path string, handler interface{}, options ...interface{}) + CONNECT func(path string, handler interface{}, options ...interface{}) + DELETE func(path string, handler interface{}, options ...interface{}) + File func(path, filepath string, options ...interface{}) + GET func(path string, handler interface{}, options ...interface{}) + HEAD func(path string, handler interface{}, options ...interface{}) + OPTIONS func(path string, handler interface{}, options ...interface{}) + PATCH func(path string, handler interface{}, options ...interface{}) + POST func(path string, handler interface{}, options ...interface{}) + PUT func(path string, handler interface{}, options ...interface{}) + Static func(prefix, root string, options ...interface{}) + TRACE func(path string, handler interface{}, options ...interface{}) + type RouterManager interface + NewRouter func(opts ...interface{}) RouterTx + Reloadable func() bool + Started func() <-chan struct{} + type RouterTx interface + Commit func() error + Reloadable func() bool + Rollback func()