Documentation
¶
Overview ¶
Package middleware provides HTTP middleware
Index ¶
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
}
Middleware provides http middleware
func (*Middleware) Auth ¶
func (h *Middleware) Auth()
Auth provides the authentication callback and redirect URL required for clients to authenticate themselves
func (*Middleware) CorsConfig ¶
func (h *Middleware) CorsConfig() gin.HandlerFunc
CorsConfig provides cors
func (*Middleware) NotFound ¶
func (h *Middleware) NotFound(c *gin.Context)
NotFound provides 404 route handling
Click to show internal directories.
Click to hide internal directories.