Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrWatchCreateExistingFile = errors.New("Cannot watch for creation of a file that already exists")
)
Functions ¶
This section is empty.
Types ¶
type Cron ¶
type Cron struct {
// contains filtered or unexported fields
}
Cron is a decorator of the cron lib this allows the `HandleFunc(config.Condition)` pattern to be established widely throughout the architecture
func (*Cron) HandleFunc ¶
HandleFunc registers a function to be executed when the provided condition is met.
type File ¶
type File struct {
// contains filtered or unexported fields
}
func NewFile ¶
func NewFile(logger logrus.FieldLogger) *File
func (*File) HandleFunc ¶
HandleFunc registers the provided function to be executed, when the provided condition has been satisfied. An error is returned if the provided condition is not logically complete
type Process ¶
type Process struct {
// contains filtered or unexported fields
}
func NewProcess ¶
func NewProcess(logger logrus.FieldLogger) *Process
func (*Process) HandleFunc ¶
Click to show internal directories.
Click to hide internal directories.