Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationConfiguration ¶
ApplicationConfiguration struct to handle application config.
type Configuration ¶
type Configuration struct { Fiber fiber.Config App ApplicationConfiguration Enabled map[string]bool Logger logger.Config TemplateEngine func(raw string, bind interface{}) (out string, err error) Compression compress.Config CORS cors.Config Helmet helmet.Config Hash hashing.Config PublicPrefix string PublicRoot string Public fiber.Static Database DatabaseConfiguration }
Configuration struct of each config type
func LoadConfigurations ¶
func LoadConfigurations() (config Configuration, err error)
LoadConfigurations using viper
Click to show internal directories.
Click to hide internal directories.