Documentation
¶
Index ¶
Constants ¶
View Source
const EnvPrefix = "BF"
Variables ¶
View Source
var ( Bouncer bouncer Issuer issuer // Global program log level. LogLevel = new(slog.LevelVar) )
Functions ¶
func CommitInfo ¶ added in v1.1.0
CommitInfo returns build information embedded inside the binary.
Types ¶
type Spec ¶
type Spec struct {
LogLevel slog.Level `envconfig:"LOG_LEVEL" default:"info"`
Namespace uuid.UUID `envconfig:"NS" default:"1512daa4-ddc1-41d1-8673-3fd19d2f338d"`
Address string `envconfig:"ADDR" default:"127.0.0.1:8080"`
CrtUri string `envconfig:"CRT" default:"crt.pem"`
KeyUri string `envconfig:"KEY" default:"key.pem"`
}
Click to show internal directories.
Click to hide internal directories.