Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressConfig ¶
type AddressConfig struct {
Port string `env:"PORT" envDefault:"8081"`
}
type ServerConfig ¶
type ServerConfig struct {
Address AddressConfig
}
func Read ¶
func Read() (*ServerConfig, error)
Click to show internal directories.
Click to hide internal directories.