Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Prod env Prod env = "prod" // Stage env Stage env = "stage" // Test env Test env = "test" // Dev env Dev env = "dev" // Trace enabled env Trace env = "trace" )
Variables ¶
This section is empty.
Functions ¶
func LogFileName ¶
func LogFileName() string
LogFileName returns the name of the file to writes logs to
Types ¶
type Config ¶
type Config struct { Global global Database database Server server }
Config represents a shared global configuration object
func (Config) ServerAddress ¶
ServerAddress returns the address to listen on
Click to show internal directories.
Click to hide internal directories.