modulepackage
0.0.0-20211130032256-de2d0f4b8ebc
Repository: https://github.com/go-apibox/api.git
Documentation: pkg.go.dev
# README
API 
An API framework for Golang.
See full document at: https://go-apibox.github.io/docs/ (Chinese)
Middlewares
- https://github.com/go-apibox/apibus
- https://github.com/go-apibox/apicaptcha
- https://github.com/go-apibox/apiclient
- https://github.com/go-apibox/apicors
- https://github.com/go-apibox/apicsrf
- https://github.com/go-apibox/apiinit
- https://github.com/go-apibox/apilog
- https://github.com/go-apibox/apinonce
- https://github.com/go-apibox/apiping
- https://github.com/go-apibox/apiproxy
- https://github.com/go-apibox/apisession
- https://github.com/go-apibox/apisign
- https://github.com/go-apibox/apitoken
Web and web server
# Packages
No description provided by the author
# Functions
返回 Cookie 密钥对.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HasDriver return if sql driver is registered.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewApp create an application with config file: config/app.yaml.
NewAppFromFile create an application from config file.
NewAppFromYaml create an application from specified yaml config string.
No description provided by the author
NewDbManager create and return a db manager object.
No description provided by the author
NewErrorDefine return an error define.
NewErrorManager return an error manager.
NewLogger returns a new Logger instance.
No description provided by the author
NewParams return a new Params object.
NewRequestIdMaker returns a new RequestIdMaker instance.
NewRoute return a new route.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WriteResponse format api result according to the format specified by request params.
# Constants
application error.
application error.
application error.
application error.
application error.
application error.
application error.
application error.
application error.
application error.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Logger is a middleware handler that logs the request as it goes in and the response as it goes out.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RequestIdMaker is a middleware handler that auto generate the request id and append to response header.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
监听事件处理函数.