Documentation
¶
Overview ¶
Package dashboard contains a service that serves a web dashboard. nolint
Index ¶
Constants ¶
View Source
const ( DashboardEnabledEnvVar = "SERVICES_DASHBOARD_ENABLED" DashboardListenEnvVar = "SERVICES_DASHBOARD_LISTEN_ADDRESS" DashboardTLSCertEnvVar = "SERVICES_DASHBOARD_TLS_CERT_FILE" DashboardTLSKeyEnvVar = "SERVICES_DASHBOARD_TLS_KEY_FILE" DashboardPrefixEnvVar = "SERVICES_DASHBOARD_PREFIX" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
// Enabled is whether the dashboard is enabled.
Enabled bool `json:"enabled,omitempty" yaml:"enabled,omitempty" toml:"enabled,omitempty" mapstructure:"enabled,omitempty"`
// ListenAddress is the address to listen on.
ListenAddress string `` /* 135-byte string literal not displayed */
// TLSCertFile is the path to a certificate file to use for TLS.
TLSCertFile string `` /* 131-byte string literal not displayed */
// TLSKeyFile is the path to a key file to use for TLS.
TLSKeyFile string `` /* 127-byte string literal not displayed */
// Prefix is the prefix to use for the dashboard.
Prefix string `json:"prefix,omitempty" yaml:"prefix,omitempty" toml:"prefix,omitempty" mapstructure:"prefix,omitempty"`
}
Options contains the options for the dashboard service.
Click to show internal directories.
Click to hide internal directories.