Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Server ServerConfig MongoDB MongoDBConfig Logger LoggerConfig TokenSecret string RootAdmin string RootPassword string RootEmail string RootGroup string Cert string Key string ENV string }
Configuration is a struct designed to hold the applications variable configuration settings
func GetConfigurations ¶
func GetConfigurations() (*Configuration, error)
GetConfigurations is a function that reads a json configuration file and outputs a Configuration struct
func GetDevConfigurations ¶
func GetDevConfigurations() (*Configuration, error)
GetDevConfigurations returns a Configuration struct for running in Docker
func (*Configuration) InitializeEnvironmentalVars ¶
func (c *Configuration) InitializeEnvironmentalVars()
InitializeEnvironmentalVars initializes the environmental variables for the application
type LoggerConfig ¶
LoggerConfig holds config settings for server logger
type MongoDBConfig ¶
MongoDBConfig holds config settings for Mongo connection
Click to show internal directories.
Click to hide internal directories.