Documentation ¶
Index ¶
- func ForceHTTPS(c *fiber.Ctx) error
- func GetConfiguration() (config *configuration.Configuration)
- func HashProvider() hashing.Driver
- func SetAuthProvider(config ...Config)
- func SetConfiguration(config *configuration.Configuration)
- func SetHashProvider(config ...hashing.Config)
- func SuppressWWW(c *fiber.Ctx) error
- type Config
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForceHTTPS ¶
func ForceHTTPS(c *fiber.Ctx) error
ForceHTTPS Forces HTTPS protocol if not forwarded using a reverse proxy
func GetConfiguration ¶
func GetConfiguration() (config *configuration.Configuration)
func HashProvider ¶
func SetAuthProvider ¶
func SetAuthProvider(config ...Config)
func SetConfiguration ¶
func SetConfiguration(config *configuration.Configuration)
func SetHashProvider ¶
func SuppressWWW ¶
func SuppressWWW(c *fiber.Ctx) error
SuppressWWW suppresses the `www.` at the beginning of URLs
Types ¶
Click to show internal directories.
Click to hide internal directories.