Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CompletedConfig ¶
type CompletedConfig struct { *Config // contains filtered or unexported fields }
func (*CompletedConfig) NewFileWatcher ¶
func (cc *CompletedConfig) NewFileWatcher(firstOutputCtx context.Context) (*FileWatcher, <-chan []byte, error)
type FileWatcher ¶
type FileWatcher struct {
// contains filtered or unexported fields
}
func (*FileWatcher) IsClosed ¶
func (f *FileWatcher) IsClosed() bool
func (*FileWatcher) Output ¶
func (f *FileWatcher) Output(ctx context.Context) (<-chan []byte, error)
func (*FileWatcher) Start ¶
func (f *FileWatcher) Start() error
func (*FileWatcher) Stop ¶
func (f *FileWatcher) Stop() error
type WatcherManager ¶
type WatcherManager struct {
// contains filtered or unexported fields
}
func NewWatcherManager ¶
func NewWatcherManager(config *Config) *WatcherManager
func (*WatcherManager) StopAll ¶
func (wm *WatcherManager) StopAll() error
Click to show internal directories.
Click to hide internal directories.