Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Headers = helmet.New()
View Source
var Limiter = limiter.New(limiter.Config{ Max: 20, Expiration: 10 * time.Second, KeyGenerator: func(c *fiber.Ctx) string { return c.IP() }, LimitReached: func(c *fiber.Ctx) error { return c.SendStatus(fiber.StatusTooManyRequests) }, SkipFailedRequests: false, SkipSuccessfulRequests: false, LimiterMiddleware: limiter.FixedWindow{}, })
View Source
var Recover = recover.New()
Functions ¶
func FileSystem ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.