Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface {
Printf(msg string, args ...interface{})
}
func NewFileLogger ¶
type Trigger ¶
type Trigger func(typ TriggerType, src, dest string, opt *TriggerOption)
type TriggerOption ¶
type TriggerType ¶
type TriggerType int
const ( TriggerBeforeSendFile TriggerType = iota + 1 TriggerAfterSendFile TriggerBeforeSendDir TriggerAfterSendDir )
Click to show internal directories.
Click to hide internal directories.