package
Version:
v0.1.15
Opens a new window with list of versions in this module.
Published: Apr 23, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Certificate struct {
CertFile string `envconfig:"SERVER_CERTIFICATE_CERT_FILE"`
KeyFile string `envconfig:"SERVER_CERTIFICATE_KEY_FILE"`
CAFile string `envconfig:"SERVER_CERTIFICATE_CA_FILE"`
}
type Configurable interface {
Load() error
}
type Server struct {
Mode string `envconfig:"SERVER_MODE" default:"http"`
Domain string `envconfig:"SERVER_DOMAIN" default:"example.com"`
Port uint `envconfig:"SERVER_PORT" default:"8080"`
*Certificate
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.