Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvConfiguration ¶
type EnvConfiguration struct { Server struct { Port int32 `yaml:"port", envconfig:"SERVER_PORT"` Host string `yaml:"host", envconfig:"SERVER_HOST"` } `yaml:"server"` Chat struct { Message struct { Lifetime int `yaml:"lifetime", envconfig:"CHAT_MESSAGE_LIFETIME"` } `yaml:"message"` } `yaml:"chat"` }
EnvConfiguration contains environment variables
var Env *EnvConfiguration = &EnvConfiguration{}
Env contains application's configs
Click to show internal directories.
Click to hide internal directories.