Documentation
¶
Overview ¶
Package config encapsulates journalcheck's configuration options. As journalcheck can be configured both using command line arguments and environment variables, this package provides simple accessor functions that return the value.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CursorFile ¶
CursorFile returns the name of the file journalcheck should use for the cursor. If no such option was given, ok will be false.
func FilterFile ¶
FilterFile returns the name of the file containing filter rules. If no such option was given, ok will be false.
func NumEntries ¶
func NumEntries() int
NumEntries returns the number of entries to show in the interactive use case.
func OutputFormat ¶
func OutputFormat() string
OutputFormat returns the format to use for formatting journal entries on output.
func RecipientAddress ¶
RecipientAddress returns the e-mail address to be used for sending notification mails. If no such option was given, ok will be false.
Types ¶
This section is empty.