Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { HTTPAddress string `yaml:"address"` HTTPPort int `yaml:"port"` HTTPServerReadTimeout time.Duration `yaml:"readTimeout"` HTTPServerWriteTimeout time.Duration `yaml:"writeTimeout"` HTTPServerIdleTimeout time.Duration `yaml:"idleTimeout"` ServerGracefulShutdownTimeout time.Duration `yaml:"gracefulShutdownTimeout"` }
Config for a HTTP server
func (*Config) SetDefaults ¶
func (c *Config) SetDefaults()
Click to show internal directories.
Click to hide internal directories.