Documentation ¶
Index ¶
- Constants
- func AddCrossOriginHeaders() gin.HandlerFunc
- func Favicon(path string) gin.HandlerFunc
- func HandleOptionsMethod() gin.HandlerFunc
- func Logger(hostPrefix string, logger *logger.Logger, notLogged ...string) gin.HandlerFunc
- func NoReqLogger() gin.HandlerFunc
- func Recovery(hostPrefix string, logger *logger.Logger) gin.HandlerFunc
- func RespLogger() gin.HandlerFunc
- type PrefixCut
Constants ¶
View Source
const HTTPRequestStartTime = "httpRequestStartTime"
View Source
const IsLogHTTPResponse = "isLogHttpResponse"
View Source
const IsNoLogHTTPRequest = "isNoLogHttpRequest"
View Source
const MaxLogMessageLength = 32766
Variables ¶
This section is empty.
Functions ¶
func Favicon ¶
func Favicon(path string) gin.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.