Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig struct { ServerAddress string `yaml:"server_address" env:"SERVER_ADDRESS"` // contains filtered or unexported fields }
func NewClientConfig ¶
func NewClientConfig() (*ClientConfig, error)
type ServerConfig ¶
type ServerConfig struct { Port string `yaml:"port" env:"PORT"` APIKey string `yaml:"server_address" env:"API_KEY"` // contains filtered or unexported fields }
func NewServerConfig ¶
func NewServerConfig() (*ServerConfig, error)
Click to show internal directories.
Click to hide internal directories.