Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { // Workdir is the directory where temporary files and folders are created Workdir string `toml:"workdir"` Debug bool `toml:"debug"` Silent bool Source source.Source Processors []process.Processor Storage storage.Storage Notifiers []notification.Notifier }
func (*Agent) Notify ¶
func (a *Agent) Notify(ctx *context.Context, n *notification.Notification) error
Notify sends the notification n to all notifiers
Click to show internal directories.
Click to hide internal directories.