| 19 | package cap |
| 20 | |
| 21 | type Writer interface { |
| 22 | // Write accepts two channels. The event channel receives events pushed by the event source. When the event |
| 23 | // is peeked from the channel, it is serialized and written to the underlying byte buffer. |
| 24 | Write(chan *Event.Event, chan error) chan error |
| 25 | // Close disposes all resources allocated by the writer. |
| 26 | Close() error |
| 27 | } |
| 28 | |
| 29 | // Reader offers the mechanism for recovering the state of the capture and replaying all captured events. |
| 30 | type Reader interface { |
no outgoing calls
no test coverage detected