Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DevMode bool ShutdownTimeout Duration HttpServer *HttpServerConfig }
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
func (*Config) LoadFromToml ¶
type Duration ¶
type Duration struct {
// contains filtered or unexported fields
}
func MakeDuration ¶
func ParseDuration ¶
func (Duration) MarshalText ¶
func (*Duration) UnmarshalText ¶
type HttpServerConfig ¶
Click to show internal directories.
Click to hide internal directories.