Documentation ¶
Index ¶
- func AccessLog(app *gin.Engine)
- func AuthMiddleware(permission string) func(c *gin.Context)
- func ESMiddleware(c *gin.Context)
- func HTTPCacheForUI(app *gin.Engine)
- func IndexAliasMiddleware(c *gin.Context)
- func SetPProf(app *gin.Engine)
- func SetPrometheus(app *gin.Engine)
- func SetRoutes(r *gin.Engine)
- func Setup(app *gin.Engine)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
func ESMiddleware ¶
func HTTPCacheForUI ¶
func IndexAliasMiddleware ¶
func SetPrometheus ¶
SetPrometheus sets up prometheus metrics for gin
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.