Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidPort = errors.New("invalid port")
ErrInvalidPort for server.
Functions ¶
Types ¶
type Config ¶
type Config struct { Enabled bool `yaml:"enabled,omitempty" json:"enabled,omitempty" toml:"enabled,omitempty"` Security *security.Config `yaml:"security,omitempty" json:"security,omitempty" toml:"security,omitempty"` Port string `yaml:"port,omitempty" json:"port,omitempty" toml:"port,omitempty"` Retry *retry.Config `yaml:"retry,omitempty" json:"retry,omitempty" toml:"retry,omitempty"` UserAgent string `yaml:"user_agent,omitempty" json:"user_agent,omitempty" toml:"user_agent,omitempty"` }
Config for server.
Click to show internal directories.
Click to hide internal directories.