Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Follower ¶
type Follower struct { Data chan Data // Data read from the file. Ready chan struct{} // Closed if everything is set up. Reopen chan os.Signal // Send signal to reopen file. // Retry opening the file if it disappears for this period; this will // attempt to open the file every second. // // Default is 2s; set to -1 to retry forever. Retry time.Duration // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.