Documentation ¶
Index ¶
- func AuthorizationMiddleware() gin.HandlerFunc
- func CORSMiddleware() gin.HandlerFunc
- func EsLog(ctx context.Context, esClient *elastic.Client) gin.HandlerFunc
- func FilerAuthorizationMiddleware() gin.HandlerFunc
- func InitMiddlewares(app *gin.Engine) (err error)
- func WriteMsg(ctx context.Context, crawlabIndex string, es *elastic.Client, when time.Time, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthorizationMiddleware ¶
func AuthorizationMiddleware() gin.HandlerFunc
func CORSMiddleware ¶
func CORSMiddleware() gin.HandlerFunc
func FilerAuthorizationMiddleware ¶ added in v0.6.0
func FilerAuthorizationMiddleware() gin.HandlerFunc
func InitMiddlewares ¶ added in v0.6.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.