Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpServerProvider ¶
func HttpServerProvider(config *HttpServerConfig, logger *log.Logger) *http.Server
Types ¶
type HttpServerConfig ¶
type HttpServerConfigProviderFunc ¶
type HttpServerConfigProviderFunc func(*viper.Viper) (*HttpServerConfig, error)
func MakeHttpServerConfigProvider ¶
func MakeHttpServerConfigProvider(rootKey string, opts ...Option) HttpServerConfigProviderFunc
type Option ¶
type Option func(*HttpServerConfig)
func WithDefault ¶
func WithDefault(defaultConfig *HttpServerConfig) Option
func WithDefaultAddr ¶
Click to show internal directories.
Click to hide internal directories.