Read returns two channels. The event channel is populated with event instances pulled from the cap. If any error occurs during capture processing, it is pushed to the error channel.
(ctx context.Context)
| 54 | // Read returns two channels. The event channel is populated with event instances pulled from the cap. If |
| 55 | // any error occurs during capture processing, it is pushed to the error channel. |
| 56 | Read(ctx context.Context) (chan *event.Event, chan error) |
| 57 | // Close shutdowns the reader gracefully. |
| 58 | Close() error |
| 59 | // RecoverSnapshotters recovers the state of the snapshotters from the cap. |
no outgoing calls