Documentation ¶
Index ¶
Constants ¶
View Source
const ( Errors = " Errors" Matched = " Matched" )
Variables ¶
View Source
var ( ErrInvalidRegexp = fmt.Errorf("invalid regexp") ErrIgnoredLog = fmt.Errorf("the requested path is internally ignored") )
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
// contains filtered or unexported fields
}
Action contains the exported methods for this package.
func (*Action) AddFileWatcher ¶
type Match ¶
type Match struct { File string `json:"file"` Matches []string `json:"matches"` Line string `json:"line"` }
Match is what we send to the website.
type WatchFile ¶
type WatchFile struct { Path string `json:"path" toml:"path" xml:"path" yaml:"path"` Regexp string `json:"regex" toml:"regex" xml:"regex" yaml:"regex"` Skip string `json:"skip" toml:"skip" xml:"skip" yaml:"skip"` Poll bool `json:"poll" toml:"poll" xml:"poll" yaml:"poll"` Pipe bool `json:"pipe" toml:"pipe" xml:"pipe" yaml:"pipe"` MustExist bool `json:"mustExist" toml:"must_exist" xml:"must_exist" yaml:"mustExist"` LogMatch bool `json:"logMatch" toml:"log_match" xml:"log_match" yaml:"logMatch"` // contains filtered or unexported fields }
WatchFile is the input data needed to watch files.
Click to show internal directories.
Click to hide internal directories.