Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPConfig ¶
type HTTPConfig interface { Address() string ReadTimeout() time.Duration ReadHeaderTimeout() time.Duration WriteTimeout() time.Duration IdleTimeout() time.Duration }
func NewHTTPConfig ¶
func NewHTTPConfig() (HTTPConfig, error)
type LoggerConfig ¶
type LoggerConfig interface { Filename() string ServiceName() string MaxSize() int MaxBackups() int MaxAge() int Level() string }
func NewLoggerConfig ¶
func NewLoggerConfig() (LoggerConfig, error)
Click to show internal directories.
Click to hide internal directories.