Documentation ¶
Index ¶
- type Middleware
- func (m *Middleware) Analytics(c *gin.Context)
- func (m *Middleware) Authenticate(c *gin.Context)
- func (m *Middleware) AuthenticateAdmin(c *gin.Context)
- func (m *Middleware) RateLimit(c *gin.Context)
- func (m *Middleware) RecoverPanic(c *gin.Context)
- func (m *Middleware) ValidateHeaders(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
type Middleware struct {
// contains filtered or unexported fields
}
func NewMiddleware ¶
func (*Middleware) Analytics ¶
func (m *Middleware) Analytics(c *gin.Context)
func (*Middleware) Authenticate ¶
func (m *Middleware) Authenticate(c *gin.Context)
func (*Middleware) AuthenticateAdmin ¶
func (m *Middleware) AuthenticateAdmin(c *gin.Context)
func (*Middleware) RateLimit ¶
func (m *Middleware) RateLimit(c *gin.Context)
func (*Middleware) RecoverPanic ¶
func (m *Middleware) RecoverPanic(c *gin.Context)
func (*Middleware) ValidateHeaders ¶
func (m *Middleware) ValidateHeaders(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.