Documentation ¶
Index ¶
Constants ¶
View Source
const StartKey = "start"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collection ¶
type Collection []Middleware
func (Collection) Apply ¶
func (collection Collection) Apply(r *gin.Engine)
func (Collection) Register ¶
func (collection Collection) Register()
type Middleware ¶
type Middleware interface { Register() Handler() gin.HandlerFunc }
Directories ¶
Path | Synopsis |
---|---|
contenttyper
module
|
|
logger
module
|
|
metrics
module
|
|
ratelimiter
module
|
|
recovery
module
|
Click to show internal directories.
Click to hide internal directories.