Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultMaxLogSize = 1024 * 1024
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseConfig ¶
type Config ¶
type Config struct { helper.InputConfig `mapstructure:",squash"` BaseConfig `mapstructure:",squash"` }
Config is the configuration of a stdin input operator.
func NewConfigWithID ¶
NewConfig creates a new stdin input config with default values
type Input ¶
type Input struct { helper.InputOperator // contains filtered or unexported fields }
type Watcher ¶
type Watcher struct { C chan struct{} // contains filtered or unexported fields }
Watcher watches a file for writes, notifying via `C` when one is observed.
func NewWatcher ¶
NewWatcher creates a new watcher for the given path.
Click to show internal directories.
Click to hide internal directories.