Documentation ¶
Index ¶
Constants ¶
View Source
const ( // InterfaceFieldName field name in configuration file or ENV name for value of HttpConfig.Interface InterfaceFieldName = "server.http.interface" // PortFieldName field name in configuration file or ENV name for value of HttpConfig.Port PortFieldName = "server.http.port" ShutdownTimeoutFieldName = "server.http.timeout.shutdown" // InterfaceDefault address for listen on default InterfaceDefault string = "0.0.0.0" // PortDefault port for listen on default PortDefault uint = 8080 ShutdownTimeoutDefault = 30 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func WithConfigurator ¶
func WithConfigurator(configurator configurator.Configurator, config *Config, router chi.Router, informer log.Informer) *http.Server
Types ¶
Click to show internal directories.
Click to hide internal directories.