Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Set = wire.NewSet( NewHTTPApp, )
Functions ¶
This section is empty.
Types ¶
type HTTPApp ¶
type HTTPApp struct {
// contains filtered or unexported fields
}
HTTPApp provides application that uses HTTP base protocol.
type HTTPAppConfig ¶
type HTTPAppConfig struct {
Addr string `envconfig:"ADDR"`
TLSCertFile string `envconfig:"TLS_CERT_FILE"`
TLSKeyFile string `envconfig:"TLS_KEY_FILE"`
TLSEnabled bool `envconfig:"TLS_ENABLED"`
}
HTTPAppConfig is configuration for HTTPApp.
func ProvideHTTPAppConfigFromEnv ¶
func ProvideHTTPAppConfigFromEnv() HTTPAppConfig
Click to show internal directories.
Click to hide internal directories.