Versions in this module Expand all Collapse all v1 v1.1.0 May 14, 2024 v1.0.0 Apr 5, 2024 Changes in this version + type Detector int + const DetectorDefault + const DetectorFSNotify + const DetectorInvalid + const DetectorPoll + func (ut *Detector) UnmarshalText(text []byte) error + func (ut Detector) MarshalText() (text []byte, err error) + func (ut Detector) String() string + type FSNotify struct + func NewFSNotify(opts FSNotifyOptions) (*FSNotify, error) + func (fsn *FSNotify) Close() error + type FSNotifyOptions struct + Filename string + Logger log.Logger + PollFrequency time.Duration + ReloadFile func() + type Poller struct + func NewPoller(opts PollerOptions) *Poller + func (p *Poller) Close() error + type PollerOptions struct + Filename string + PollFrequency time.Duration + ReloadFile func()