Documentation ¶
Index ¶
- func Auth() gin.HandlerFunc
- func AuthCheck()
- func AuthGet()
- func Break() gin.HandlerFunc
- func Cors(site string) gin.HandlerFunc
- func Error() gin.HandlerFunc
- func Limit() gin.HandlerFunc
- func Log() gin.HandlerFunc
- func NoCache(c *gin.Context)
- func Options(c *gin.Context)
- func Rc4() gin.HandlerFunc
- func Rsa() gin.HandlerFunc
- func Secure(c *gin.Context)
- func Timeout(timeout time.Duration) gin.HandlerFunc
- func TlsHandler(domain string) gin.HandlerFunc
- func Trace() gin.HandlerFunc
- type SysOperationRecord
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cors ¶
func Cors(site string) gin.HandlerFunc
func NoCache ¶
NoCache is a middleware function that appends headers to prevent the client from caching the HTTP response.
func Options ¶
Options is a middleware function that appends headers for options requests and aborts then exits the middleware chain and ends the request.
func TlsHandler ¶
func TlsHandler(domain string) gin.HandlerFunc
TlsHandler tls传输 domain:xxx.com 使用 router.RunTLS(":8080", "ssl.pem", "ssl.key")
Types ¶
Click to show internal directories.
Click to hide internal directories.