Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (*File) SetConfig ¶
func (i *File) SetConfig(config *FileConfig)
type FileConfig ¶
type ReaderEOFNotifier ¶
type ReaderEOFNotifier func() error
type ReaderFactory ¶
type S3Config ¶
type S3Config struct {
AccessKey string
SecretKey string
Region string
Bucket string
Format string `description:"A valid format name."`
Prefix string `description:"Limits the response to keys that begin with the specified prefix."`
Delimiter string `description:"A delimiter is a character you use to group keys."`
Marker string `description:"Specifies the key to start with when listing objects in a bucket."`
MaxKeys int `description:"Sets the maximum number of keys returned."`
TrackFile string `description:"File for track the read files."`
Gzip bool
}
type Tail ¶
type Tail struct {
// contains filtered or unexported fields
}
func (*Tail) SetConfig ¶
func (i *Tail) SetConfig(config *TailConfig)
type TailConfig ¶
type TailConfig struct {
Format string `description:"A valid format name"`
File string `description:"File to be read"`
MustExist bool `description:"Fail early if the file does not exist"`
Poll bool `description:"Poll for file changes instead of using inotify"`
LimitRate int64 `description:"Maximum read rate (lines per second)"`
}
Click to show internal directories.
Click to hide internal directories.