Versions in this module Expand all Collapse all v1 v1.0.0 May 19, 2022 Changes in this version + func ErrorWithStatusCode(err error, statusCode int) error + func Plugin(plugins ...PluginFunc) + func SetErrorEncoder(c ErrorEncoder) + func SetMultipartFormMaxMemory(m int64) + func SetResponseEncoder(c ResponseEncoder) + func Unwrap(err error) error + func UnwrapErrorStatusCode(err error) (int, bool) + func Wrap(f interface{}) *fn + type ErrorEncoder func(ctx context.Context, err error) interface + type Form struct + func (f *Form) Add(key, value string) + func (f *Form) Del(key string) + func (f *Form) Encode() string + func (f *Form) Get(key string) string + func (f *Form) Int(key string) int + func (f *Form) Int64(key string) int64 + func (f *Form) Int64OrDefault(key string, def int64) int64 + func (f *Form) IntOrDefault(key string, def int) int + func (f *Form) Set(key, value string) + func (f *Form) Uint64(key string) uint64 + func (f *Form) Uint64OrDefault(key string, def uint64) uint64 + type Group struct + func NewGroup() *Group + func (g *Group) Plugin(plugins ...PluginFunc) *Group + func (g *Group) Wrap(f interface{}) *fn + type PluginFunc func(context.Context, *http.Request) (context.Context, error) + type PostForm struct + func (f *PostForm) Add(key, value string) + func (f *PostForm) Del(key string) + func (f *PostForm) Encode() string + func (f *PostForm) Get(key string) string + func (f *PostForm) Int(key string) int + func (f *PostForm) Int64(key string) int64 + func (f *PostForm) Int64OrDefault(key string, def int64) int64 + func (f *PostForm) IntOrDefault(key string, def int) int + func (f *PostForm) Set(key, value string) + func (f *PostForm) Uint64(key string) uint64 + func (f *PostForm) Uint64OrDefault(key string, def uint64) uint64 + type ResponseEncoder func(ctx context.Context, payload interface{}) interface + type StatusCodeError interface + StatusCode func() int