Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CapGroup ¶
type CapGroup struct { Pattern string `koanf:"pattern"` Foreground string `koanf:"fg"` Background string `koanf:"bg"` Style string `koanf:"style"` Alternatives CapGroupList `koanf:"alternatives"` Regexp *regexp.Regexp }
CapGroup represents of one capture group in a config file
type CapGroupList ¶
type CapGroupList []CapGroup
CapGroupList represents of a list of capture groups
type LogFormat ¶
type LogFormat struct { Name string CapGroups CapGroupList Regexp *regexp.Regexp }
LogFormat represents of log format
type Options ¶
type Options struct { ConfigPath string // path to configuration file NoBuiltins bool // disable built-in log formats and words }
Options stores the values of command-line options
Click to show internal directories.
Click to hide internal directories.