Documentation ¶
Index ¶
- func CasbinAuth() gin.HandlerFunc
- func CorsAuth() gin.HandlerFunc
- func IpAuth() gin.HandlerFunc
- func LoginAuth() gin.HandlerFunc
- func ParamsActMatchFunc(args ...interface{}) (interface{}, error)
- func ParamsMatchFunc(args ...interface{}) (interface{}, error)
- func RequestIdAuth() gin.HandlerFunc
- type CustomResponseWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParamsActMatchFunc ¶
func ParamsActMatchFunc(args ...interface{}) (interface{}, error)
ParamsActMatchFunc 自定义规则函数
func ParamsMatchFunc ¶
func ParamsMatchFunc(args ...interface{}) (interface{}, error)
ParamsMatchFunc 自定义规则函数
Types ¶
type CustomResponseWriter ¶
type CustomResponseWriter struct { gin.ResponseWriter // contains filtered or unexported fields }
func (CustomResponseWriter) WriteString ¶
func (w CustomResponseWriter) WriteString(s string) (int, error)
Click to show internal directories.
Click to hide internal directories.