Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelpRequested ¶
type HelpRequested struct {
Message string // Message is the help message.
}
HelpRequested indicates that help was requested.
func (*HelpRequested) Error ¶
func (e *HelpRequested) Error() string
Error returns the help message.
type Options ¶
type Options struct {
Debug bool // Set LogLevel to Debug
DebugServerPort int // Port for the debug server
LogFormat logging.LogFormat // Specify the log output format
ConfigPath string // Path to the configuration file
ListenAddr string // Address to listen on
SiteRoot string // Root URL of the site
HistorySize int // Size of the history ring buffer
SkipTLS bool // Skip TLS for all receivers
RetryCount int // Number of retries for notifications
RetryDelay time.Duration // Delay between retries
}
Options holds the application configuration.
func ParseFlags ¶
ParseFlags parses flags and environment variables.
Click to show internal directories.
Click to hide internal directories.