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.
func (*Service) SetLogOutput ¶ added in v0.13.0
SetLogOutput sets the writer to which all logs are written. It must not be called after Open is called.
Click to show internal directories.
Click to hide internal directories.