Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithHTTPServer ¶
WithHTTPServer returns a factory for the HTTP server service.
Types ¶
type Config ¶
type Config struct {
// ListenAddr is the HTTP server listening address.
// Example: `127.0.0.1:8000`.
ListenAddr string `env:"HTTP_LISTEN"`
}
Config is an HTTP server configuration.
Click to show internal directories.
Click to hide internal directories.