Documentation ¶
Index ¶
- Constants
- Variables
- func BinaryStringToBytes(s string) (bs []byte)
- func ByteToBinaryString(b byte) string
- func BytesToBinaryString(bs []byte) string
- func Clone(src interface{}) interface{}
- func DefaultCacheTemplateCacheWithResponse(w http.ResponseWriter, r *http.Request) bool
- func DefaultCacheTemplateCacheWithoutResponse(w http.ResponseWriter, r *http.Request) bool
- func DefaultModuleTemplate(w http.ResponseWriter, r *http.Request) bool
- func DefaultPermissionTemplate(w http.ResponseWriter, r *http.Request) (post bool)
- func ExsitsCache(key string) bool
- func GenRsa(prikey, pubkey, crtkey string) error
- func GetCache(key string) []byte
- func GetConnents() int32
- func GetLimit(count, page, limit int) (int, int, int)
- func GetPerm(permList []string, flag uint8) []bool
- func InitResponseCache(cache Cacher)
- func IsUpdate(key string) bool
- func JsonFile(jsonPath, url, host string, router *Router, schemes ...string) http.HandlerFunc
- func NeedUpdate(key string)
- func PrettySlash(p string) string
- func RSA_Encrypt(plainText []byte, path string) ([]byte, error)
- func ReadBinaryString(s string, data interface{}) (err error)
- func RsaDecryptFromBase64(s string, priviteKeyPath string) ([]byte, error)
- func RsaDecryptFromString(s string, priviteKeyPath string) ([]byte, error)
- func SetCache(key string, value []byte)
- func SetKey(name string) string
- func SetPem(name string) string
- func SetUpdate(key string)
- func ShutDown()
- func StartService()
- func StopService()
- func Subtract[T comparable](a, b []T) []T
- func SubtractSliceMap[T comparable](a []T, b map[T]struct{}) []T
- func ToBinaryString(v interface{}) (s string)
- func Uint16ToBinaryString(i uint16) string
- func Uint32ToBinaryString(i uint32) string
- func Uint64ToBinaryString(i uint64) string
- func UnescapeUnicode(raw []byte) (string, error)
- func Var(r *http.Request) params
- type BaseWs
- type CacheStatus
- type Cacher
- type ContentType
- type Definition
- type FlowData
- type Info
- type JsonStr
- type MethodStrcut
- type MethodsRoute
- func (mr MethodsRoute) AddModule(handles ...func(http.ResponseWriter, *http.Request) bool) MethodsRoute
- func (mr MethodsRoute) AddPageKeys(pagekeys ...string) MethodsRoute
- func (mr MethodsRoute) Bind(dest interface{}) MethodsRoute
- func (mr MethodsRoute) BindByContentType(dest interface{}) MethodsRoute
- func (mr MethodsRoute) BindForm(dest interface{}) MethodsRoute
- func (mr MethodsRoute) BindJson(dest interface{}) MethodsRoute
- func (mr MethodsRoute) BindResponse(dest interface{}) MethodsRoute
- func (mr MethodsRoute) BindXml(dest interface{}) MethodsRoute
- func (mr MethodsRoute) BindYaml(dest interface{}) MethodsRoute
- func (mr MethodsRoute) DelHeader(key string) MethodsRoute
- func (mr MethodsRoute) DelModule(handles ...func(http.ResponseWriter, *http.Request) bool) MethodsRoute
- func (mr MethodsRoute) DelPageKeys(pagekeys ...string) MethodsRoute
- func (mr MethodsRoute) GetRoute(method string) *Route
- func (mr MethodsRoute) SetHeader(key, value string) MethodsRoute
- type Opt
- type Parameter
- type ParameterType
- type Response
- type Route
- func (rt *Route) AddModule(handles ...func(http.ResponseWriter, *http.Request) bool) *Route
- func (rt *Route) AddPageKeys(pagekeys ...string) *Route
- func (rt *Route) Bind(s interface{}) *Route
- func (rt *Route) BindByContentType(s interface{}) *Route
- func (rt *Route) BindForm(s interface{}) *Route
- func (rt *Route) BindJson(s interface{}) *Route
- func (rt *Route) BindResponse(response interface{}) *Route
- func (rt *Route) BindXml(s interface{}) *Route
- func (rt *Route) BindYaml(s interface{}) *Route
- func (rt *Route) DelHeader(dh ...string) *Route
- func (rt *Route) DelModule(handles ...func(http.ResponseWriter, *http.Request) bool) *Route
- func (rt *Route) DelPageKeys(pagekeys ...string) *Route
- func (rt *Route) DelPrefix(prefixs ...string) *Route
- func (rt *Route) GetHeader() map[string]string
- func (rt *Route) Prefix(prefix string) *Route
- func (rt *Route) SetHeader(k, v string) *Route
- func (rt *Route) SwaggerAddParameter(pt Parameter) *Route
- func (rt *Route) SwaggerSummary(summary string) *Route
- type RouteGroup
- func (g *RouteGroup) AddGroup(group *RouteGroup) *RouteGroup
- func (g *RouteGroup) AddModule(handles ...func(http.ResponseWriter, *http.Request) bool) *RouteGroup
- func (g *RouteGroup) AddPageKeys(pagekeys ...string) *RouteGroup
- func (gr *RouteGroup) Any(pattern string, handler func(http.ResponseWriter, *http.Request)) MethodsRoute
- func (g *RouteGroup) BindResponse(response interface{}) *RouteGroup
- func (gr *RouteGroup) Connect(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- func (g *RouteGroup) DebugAssignRoute(thisurl string)
- func (g *RouteGroup) DebugIncludeTpl(pattern string)
- func (g *RouteGroup) DelHeader(headers ...string) *RouteGroup
- func (g *RouteGroup) DelModule(handles ...func(http.ResponseWriter, *http.Request) bool) *RouteGroup
- func (g *RouteGroup) DelPageKeys(pagekeys ...string) *RouteGroup
- func (g *RouteGroup) DelPrefix(prefixs ...string) *RouteGroup
- func (gr *RouteGroup) Delete(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- func (gr *RouteGroup) Get(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- func (gr *RouteGroup) Head(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- func (gr *RouteGroup) Options(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- func (gr *RouteGroup) Patch(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- func (gr *RouteGroup) Post(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- func (g *RouteGroup) Prefix(prefixs ...string) *RouteGroup
- func (gr *RouteGroup) Put(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- func (gr *RouteGroup) Request(pattern string, handler func(http.ResponseWriter, *http.Request), ...) *Route
- func (gr *RouteGroup) Requests(pattern string, handler func(http.ResponseWriter, *http.Request), ...) MethodsRoute
- func (g *RouteGroup) SetHeader(k, v string) *RouteGroup
- func (gr *RouteGroup) Trace(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- type Router
- func (r *Router) AddGroup(group *RouteGroup) *Router
- func (r *Router) AddModule(handles ...func(http.ResponseWriter, *http.Request) bool) *Router
- func (r *Router) AddPageKeys(pagekeys ...string) *Router
- func (r *Router) Any(pattern string, handler func(http.ResponseWriter, *http.Request)) MethodsRoute
- func (r *Router) BindResponse(response interface{}) *Router
- func (r *Router) Connect(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- func (r *Router) Debug(ctx context.Context, opt ...string)
- func (r *Router) DebugAssignRoute(thisurl string)
- func (r *Router) DebugIncludeTpl(pattern string)
- func (r *Router) DebugRoute()
- func (r *Router) DebugTpl()
- func (r *Router) Delete(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- func (r *Router) Get(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- func (r *Router) Head(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- func (r *Router) Options(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- func (r *Router) Patch(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- func (r *Router) Post(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- func (r *Router) Prefix(prefixs ...string) *Router
- func (r *Router) Put(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- func (r *Router) Request(pattern string, handler func(http.ResponseWriter, *http.Request), ...) MethodsRoute
- func (r *Router) Run(opt ...string) error
- func (r *Router) RunTLS(keyfile, pemfile string, opt ...string) error
- func (r *Router) RunUnsafeTLS(opt ...string) error
- func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request)
- func (r *Router) SetHeader(k, v string) *Router
- func (r *Router) ShowSwagger(url, host string, schemes ...string) *RouteGroup
- func (r *Router) Trace(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
- type Schema
- type Swagger
- type SwaggerUIOpts
- type Type
- type UMR
- type WebSocket
- type WsHandler
Constants ¶
const ( MIMEJSON = "application/json" MIMEXML = "application/xml" MIMEXML2 = "text/xml" MIMEPlain = "text/plain" MIMEPOSTForm = "application/x-www-form-urlencoded" MIMEMultipartPOSTForm = "multipart/form-data" MIMEPROTOBUF = "application/x-protobuf" MIMEMSGPACK = "application/x-msgpack" MIMEMSGPACK2 = "application/msgpack" MIMEYAML = "application/x-yaml" )
const ( TypeMsg = byte(129) TypeBinary = byte(130) TypeClose = byte(136) TypePing = byte(137) TypePong = byte(138) )
const PAGES = "PAGES"
Variables ¶
var ( ErrConnectClosed = errors.New("connect closed") ErrorType = errors.New("type error") ErrorProtocol = errors.New("protocol undefined") ErrorGetLenth = errors.New("get length error") ErrorGetMsg = errors.New("read data error") ErrorMsgNotEnough = errors.New("data length not enough") ErrorNotFoundHandle = errors.New("please write a Handle") ErrorRespose = errors.New("websocket: response does not implement http.Hijacker") ErrorHandshake = errors.New("websocket: client sent data before handshake is complete") ErrorNoWebsocketKey = errors.New("not found Sec-WebSocket-Key") )
var ErrBadStringFormat = errors.New("bad string format")
ErrBadStringFormat represents a error of input string's format is illegal .
var ErrEmptyString = errors.New("empty string")
ErrEmptyString represents a error of empty input string.
var ErrTypeUnsupport = errors.New("data type is unsupported")
Functions ¶
func BinaryStringToBytes ¶
BinaryStringToBytes get the binary bytes according to the input string which is in binary format.
func ByteToBinaryString ¶
ByteToBinaryString get the string in binary format of a byte or uint8.
func BytesToBinaryString ¶
BytesToBinaryString get the string in binary format of a []byte or []int8.
func DefaultCacheTemplateCacheWithResponse ¶
func DefaultCacheTemplateCacheWithResponse(w http.ResponseWriter, r *http.Request) bool
func DefaultCacheTemplateCacheWithoutResponse ¶
func DefaultCacheTemplateCacheWithoutResponse(w http.ResponseWriter, r *http.Request) bool
func DefaultModuleTemplate ¶
func DefaultModuleTemplate(w http.ResponseWriter, r *http.Request) bool
func DefaultPermissionTemplate ¶
func DefaultPermissionTemplate(w http.ResponseWriter, r *http.Request) (post bool)
func GetConnents ¶
func GetConnents() int32
func InitResponseCache ¶
func InitResponseCache(cache Cacher)
func JsonFile ¶
func JsonFile(jsonPath, url, host string, router *Router, schemes ...string) http.HandlerFunc
func PrettySlash ¶
func ReadBinaryString ¶
ReadBinaryString read the string in binary format into input data.
func RsaDecryptFromBase64 ¶
RSA解密
func RsaDecryptFromString ¶
RSA解密
func StartService ¶
func StartService()
func StopService ¶
func StopService()
func SubtractSliceMap ¶
func SubtractSliceMap[T comparable](a []T, b map[T]struct{}) []T
func ToBinaryString ¶
func ToBinaryString(v interface{}) (s string)
ToBinaryString get string in binary format according to input data. The input data can be diffrent kinds of basic data type.
func Uint16ToBinaryString ¶
Uint16ToBinaryString get the string of a uint16 number in binary format.
func Uint32ToBinaryString ¶
Uint32ToBinaryString get the string of a uint32 number in binary format.
func Uint64ToBinaryString ¶
Uint64ToBinaryString get the string of a uint64 number in binary format.
func UnescapeUnicode ¶
将前端传进来的部分中文被编译成unicode编码进行还原
Types ¶
type BaseWs ¶
func UpgradeWebSocket ¶
type CacheStatus ¶
type CacheStatus string
const ( NotFoundCache CacheStatus = "Not found cache" CacheIsUpdateing CacheStatus = "Cache is Updating" CacheNeedUpdate CacheStatus = "Cache need Updating" CacheHit CacheStatus = "cache hit" )
func GetCacheIfUpdating ¶
func GetCacheIfUpdating(key string) ([]byte, CacheStatus)
获取缓存,如果正在更新 如果返回 NotFoundCache 说明不存在这个缓存 如果返回 CacheIsUpdateing 说明当前还在更新中, 还不是最新的缓存 如果返回 CacheNeedUpdate 说明缓存需要更新 如果返回 CacheHit 说明是最新的,可以直接返回
type ContentType ¶
type ContentType string
const ( URLENCODED ContentType = "application/x-www-form-urlencoded" JSON ContentType = "application/json" FORM ContentType = "multipart/form-data" XML ContentType = "application/xml" )
func (ContentType) String ¶
func (ct ContentType) String() string
type Definition ¶
type FlowData ¶
type FlowData struct { Data interface{} // 处理后的数据 Response interface{} // 返回的数据结构 StatusCode int Body []byte CacheKey string // contains filtered or unexported fields }
func GetInstance ¶
func (*FlowData) GetConnectId ¶
func (*FlowData) GetFuncName ¶
func (*FlowData) GetPageKeys ¶
type MethodStrcut ¶
type MethodStrcut struct { Summary string `json:"summary,omitempty" yaml:"summary"` Parameters []Parameter `json:"parameters,omitempty" yaml:"parameters"` Responses map[string]Response `json:"responses,omitempty" yaml:"responses"` Produces []string `json:"produces,omitempty" yaml:"produces" required:""` Consumes []string `json:"consumes,omitempty" yaml:"consumes"` }
type MethodsRoute ¶
string 对应的是method
func (MethodsRoute) AddModule ¶
func (mr MethodsRoute) AddModule(handles ...func(http.ResponseWriter, *http.Request) bool) MethodsRoute
func (MethodsRoute) AddPageKeys ¶
func (mr MethodsRoute) AddPageKeys(pagekeys ...string) MethodsRoute
func (MethodsRoute) Bind ¶
func (mr MethodsRoute) Bind(dest interface{}) MethodsRoute
func (MethodsRoute) BindByContentType ¶
func (mr MethodsRoute) BindByContentType(dest interface{}) MethodsRoute
func (MethodsRoute) BindForm ¶
func (mr MethodsRoute) BindForm(dest interface{}) MethodsRoute
func (MethodsRoute) BindJson ¶
func (mr MethodsRoute) BindJson(dest interface{}) MethodsRoute
func (MethodsRoute) BindResponse ¶
func (mr MethodsRoute) BindResponse(dest interface{}) MethodsRoute
func (MethodsRoute) BindXml ¶
func (mr MethodsRoute) BindXml(dest interface{}) MethodsRoute
func (MethodsRoute) BindYaml ¶
func (mr MethodsRoute) BindYaml(dest interface{}) MethodsRoute
func (MethodsRoute) DelHeader ¶
func (mr MethodsRoute) DelHeader(key string) MethodsRoute
func (MethodsRoute) DelModule ¶
func (mr MethodsRoute) DelModule(handles ...func(http.ResponseWriter, *http.Request) bool) MethodsRoute
func (MethodsRoute) DelPageKeys ¶
func (mr MethodsRoute) DelPageKeys(pagekeys ...string) MethodsRoute
func (MethodsRoute) GetRoute ¶
func (mr MethodsRoute) GetRoute(method string) *Route
get route by method. if not found will return nil
func (MethodsRoute) SetHeader ¶
func (mr MethodsRoute) SetHeader(key, value string) MethodsRoute
type Parameter ¶
type Parameter struct { In ParameterType `json:"in,omitempty" yaml:"in"` Name string `json:"name,omitempty" yaml:"name"` Required bool `required:"in,omitempty" yaml:"required"` Type string `json:"type,omitempty" yaml:"type"` Schema map[string]string `json:"schema,omitempty" yaml:"schema"` Minimum int64 `json:"minimum,omitempty" yaml:"minimum"` Enum []string `json:"enum,omitempty" yaml:"enum"` Default any `json:"default,omitempty" yaml:"default"` Description string `json:"description,omitempty" yaml:"description"` }
type ParameterType ¶
type ParameterType string
const ( Query ParameterType = "query" Path ParameterType = "path" Header ParameterType = "header" Form ParameterType = "formData" )
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
初始化临时使用, 最后会合并到 router
func (*Route) AddPageKeys ¶
func (*Route) BindByContentType ¶
func (*Route) BindResponse ¶
func (*Route) DelPageKeys ¶
func (*Route) SwaggerAddParameter ¶
func (*Route) SwaggerSummary ¶
这个路由的注释, 使用swagger加上这个字段才能显示执行的窗口
type RouteGroup ¶
type RouteGroup struct {
// contains filtered or unexported fields
}
服务启动前的操作, 所以里面的map 都是单线程不需要加锁的
func NewRouteGroup ¶
func NewRouteGroup() *RouteGroup
func Pprof ¶
func Pprof() *RouteGroup
func (*RouteGroup) AddGroup ¶
func (g *RouteGroup) AddGroup(group *RouteGroup) *RouteGroup
组路由添加到组路由
func (*RouteGroup) AddModule ¶
func (g *RouteGroup) AddModule(handles ...func(http.ResponseWriter, *http.Request) bool) *RouteGroup
func (*RouteGroup) AddPageKeys ¶
func (g *RouteGroup) AddPageKeys(pagekeys ...string) *RouteGroup
func (*RouteGroup) Any ¶
func (gr *RouteGroup) Any(pattern string, handler func(http.ResponseWriter, *http.Request)) MethodsRoute
func (*RouteGroup) BindResponse ¶
func (g *RouteGroup) BindResponse(response interface{}) *RouteGroup
func (*RouteGroup) Connect ¶
func (gr *RouteGroup) Connect(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
func (*RouteGroup) DebugAssignRoute ¶
func (g *RouteGroup) DebugAssignRoute(thisurl string)
func (*RouteGroup) DebugIncludeTpl ¶
func (g *RouteGroup) DebugIncludeTpl(pattern string)
func (*RouteGroup) DelHeader ¶
func (g *RouteGroup) DelHeader(headers ...string) *RouteGroup
func (*RouteGroup) DelModule ¶
func (g *RouteGroup) DelModule(handles ...func(http.ResponseWriter, *http.Request) bool) *RouteGroup
func (*RouteGroup) DelPageKeys ¶
func (g *RouteGroup) DelPageKeys(pagekeys ...string) *RouteGroup
func (*RouteGroup) DelPrefix ¶
func (g *RouteGroup) DelPrefix(prefixs ...string) *RouteGroup
func (*RouteGroup) Delete ¶
func (gr *RouteGroup) Delete(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
func (*RouteGroup) Get ¶
func (gr *RouteGroup) Get(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
func (*RouteGroup) Head ¶
func (gr *RouteGroup) Head(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
func (*RouteGroup) Options ¶
func (gr *RouteGroup) Options(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
func (*RouteGroup) Patch ¶
func (gr *RouteGroup) Patch(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
func (*RouteGroup) Post ¶
func (gr *RouteGroup) Post(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
func (*RouteGroup) Prefix ¶
func (g *RouteGroup) Prefix(prefixs ...string) *RouteGroup
func (*RouteGroup) Put ¶
func (gr *RouteGroup) Put(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
func (*RouteGroup) Request ¶
func (gr *RouteGroup) Request(pattern string, handler func(http.ResponseWriter, *http.Request), methods ...string) *Route
func (*RouteGroup) Requests ¶
func (gr *RouteGroup) Requests(pattern string, handler func(http.ResponseWriter, *http.Request), methods ...string) MethodsRoute
func (*RouteGroup) SetHeader ¶
func (g *RouteGroup) SetHeader(k, v string) *RouteGroup
func (*RouteGroup) Trace ¶
func (gr *RouteGroup) Trace(pattern string, handler func(http.ResponseWriter, *http.Request)) *Route
type Router ¶
type Router struct { MaxPrintLength int Exit func(time.Time, http.ResponseWriter, *http.Request) Enter func(http.ResponseWriter, *http.Request) bool // 当有请求进入时候的执行 ReadTimeout time.Duration HanleFavicon func(http.ResponseWriter, *http.Request) DisableOption bool // 禁止全局option HandleOptions func(http.ResponseWriter, *http.Request) // 预请求 处理函数, 如果存在, 优先处理, 前后端分离后, 前段可能会先发送一个预请求 HandleNotFound func(http.ResponseWriter, *http.Request) NotFoundRequireField func(string, http.ResponseWriter, *http.Request) bool UnmarshalError func(error, http.ResponseWriter, *http.Request) bool IgnoreSlash bool // 忽略地址多个斜杠, 默认不忽略 SwaggerTitle string SwaggerDescription string SwaggerVersion string // contains filtered or unexported fields }
func (*Router) AddGroup ¶
func (r *Router) AddGroup(group *RouteGroup) *Router
组路由添加到router里面, 挂载到group之前, 全局的变量已经挂载到route 里面了, 所以不用再管组变量了
func (*Router) AddPageKeys ¶
func (*Router) Any ¶
func (r *Router) Any(pattern string, handler func(http.ResponseWriter, *http.Request)) MethodsRoute
func (*Router) BindResponse ¶
func (*Router) DebugAssignRoute ¶
func (*Router) DebugIncludeTpl ¶
func (*Router) DebugRoute ¶
func (r *Router) DebugRoute()
func (*Router) Request ¶
func (r *Router) Request(pattern string, handler func(http.ResponseWriter, *http.Request), methods ...string) MethodsRoute
func (*Router) RunUnsafeTLS ¶
func (*Router) ShowSwagger ¶
func (r *Router) ShowSwagger(url, host string, schemes ...string) *RouteGroup
type Swagger ¶
type Swagger struct { Swagger string `json:"swagger" yaml:"swagger"` Info Info `json:"info" yaml:"info"` Host string `json:"host" yaml:"host"` BasePath string `json:"basePath,omitempty" yaml:"basePath"` Schemes []string `json:"schemes,omitempty" yaml:"schemes"` Paths map[string]map[string]MethodStrcut `json:"paths,omitempty" yaml:"paths"` Definitions map[string]Definition `json:"definitions,omitempty" yaml:"definitions"` Security []map[string][]string `json:"security,omitempty" yaml:"security"` SecurityDefinitions map[string]Type `json:"securityDefinitions,omitempty" yaml:"securityDefinitions"` }
type SwaggerUIOpts ¶
type SwaggerUIOpts struct { // BasePath for the UI path, defaults to: / SpecURL string // The three components needed to embed swagger-ui SwaggerURL string SwaggerPresetURL string SwaggerStylesURL string Favicon32 string Favicon16 string // Title for the documentation site, default to: API documentation Title string }
func DefaultEnsure ¶
func DefaultEnsure(jsonPath string) *SwaggerUIOpts
type UMR ¶
type UMR map[string]MethodsRoute
Source Files ¶
- api.go
- bind.go
- cache.go
- cachetable.go
- contentype.go
- copy.go
- css.go
- doc.go
- doctemplate.go
- group.go
- groupmethod.go
- instance.go
- js.go
- map.go
- match.go
- module.go
- mr.go
- opt.go
- pager.go
- pattern.go
- perm.go
- pprof.go
- proxy.go
- route.go
- router.go
- routermethod.go
- shutdown.go
- slice.go
- swagger.go
- template.go
- tls.go
- tobinary.go
- umr.go
- unicode.go
- var.go
- websocket.go