kdnotify/fifo
Paul Stemmet 65660e3286
fifo: EventChannel, FifoChannel
This commit adds the fifo.EventChannel interface for consuming (VRRP)
events from keepalived.

This is what package users should accept when expecting a handle to the
event stream.

fifo.FifoChannel is an implementation of this against an IPC FIFO channel
opened via MkFifo(), and can be considered the primary "producer" of
fifo.EventChannel events, but importantly we can create other
producers, notably for testing.
2022-12-09 18:05:56 +00:00
..
events.go fifo: EventChannel, FifoChannel 2022-12-09 18:05:56 +00:00
mk.go fifo: add MkPipe/1 2022-12-09 18:05:54 +00:00
mk_test.go fifo: add MkPipe/1 2022-12-09 18:05:54 +00:00