Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Hostname to use for download links
Hostname string `toml:"hostname"`
// Port is a server port to listen to
Port int `toml:"port"`
// Bind a specific IP addresses for server
// "*": bind all IP addresses which is default option
// localhost or 127.0.0.1 bind a single IPv4 address
BindAddress string `toml:"bind_address"`
// Flag indicating if the server will use TLS
TLS bool `toml:"tls"`
// Path to a certificate file for TLS connections
CertificatePath string `toml:"certificate_path"`
// Path to a private key file for TLS connections
KeyFilePath string `toml:"key_file_path"`
// Specify path for reverse proxy and only [A-Za-z0-9]
Path string `toml:"path"`
// DataDir is a path to a directory to keep XML feeds and downloaded episodes,
// that will be available to user via web server for download.
DataDir string `toml:"data_dir"`
// WebUIEnabled is a flag indicating if web UI is enabled
WebUIEnabled bool `toml:"web_ui"`
// DebugEndpoints enables /debug/vars endpoint for runtime metrics (disabled by default)
DebugEndpoints bool `toml:"debug_endpoints"`
}
type HealthStatus ¶
Click to show internal directories.
Click to hide internal directories.