Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrSchemeUnknown is just for checking with errors.Is() ErrSchemeUnknown = &errSchemeUnknown{} ErrWatcherNotRunning = fmt.Errorf("watcher is not running") )
Functions ¶
This section is empty.
Types ¶
type ChangeEvent ¶
type ChangeEvent struct {
// contains filtered or unexported fields
}
func (*ChangeEvent) MarshalJSON ¶
func (e *ChangeEvent) MarshalJSON() ([]byte, error)
func (*ChangeEvent) Reader ¶
func (e *ChangeEvent) Reader() io.Reader
func (*ChangeEvent) String ¶
func (e *ChangeEvent) String() string
type ErrorEvent ¶
type ErrorEvent struct {
// contains filtered or unexported fields
}
func NewErrorEvent ¶
func NewErrorEvent(err error, source_ string) *ErrorEvent
func (*ErrorEvent) MarshalJSON ¶
func (e *ErrorEvent) MarshalJSON() ([]byte, error)
func (*ErrorEvent) Reader ¶
func (e *ErrorEvent) Reader() io.Reader
func (*ErrorEvent) String ¶
func (e *ErrorEvent) String() string
type EventChannel ¶
type EventChannel chan Event
type RemoveEvent ¶
type RemoveEvent struct {
// contains filtered or unexported fields
}
func (*RemoveEvent) MarshalJSON ¶
func (e *RemoveEvent) MarshalJSON() ([]byte, error)
func (*RemoveEvent) Reader ¶
func (e *RemoveEvent) Reader() io.Reader
func (*RemoveEvent) String ¶
func (e *RemoveEvent) String() string
Click to show internal directories.
Click to hide internal directories.