package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Oct 16, 2024
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 {
Cert string `envconfig:"SERVER_CERTIFICATE_CERT"`
Key string `envconfig:"SERVER_CERTIFICATE_KEY"`
}
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.