Documentation ¶
Index ¶
Constants ¶
View Source
const (
// DefaultBindAddress is the default bind address for the HTTP server.
DefaultBindAddress = ":8083"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Enabled bool `toml:"enabled"` BindAddress string `toml:"bind-address"` HTTPSEnabled bool `toml:"https-enabled"` HTTPSCertificate string `toml:"https-certificate"` Version string }
Config represents the configuration for the admin service.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service manages the listener for an admin endpoint.
Click to show internal directories.
Click to hide internal directories.