Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmptyReader ¶
type EmptyReader struct{}
func (*EmptyReader) Read ¶
func (e *EmptyReader) Read() chan interface{}
type EventReader ¶
func NewEventReader ¶
func NewEventReader(src interface{}) EventReader
NewEventReader attempts to create an EventReader of a known type Currently only knows: *kernel.Probe, *redis.PubSub
func NewKernelReader ¶
func NewKernelReader(probe *kernel.Probe) EventReader
NewKernelReader creates a kernel event reader from a `kernel.Probe` context
type KernelReader ¶
type KernelReader struct {
// contains filtered or unexported fields
}
KernelReader handles callbacks from the kernel and implements a higher level channel-based emission to clients
func (*KernelReader) Read ¶
func (k *KernelReader) Read() chan interface{}
Read returns the channel of processed events.
Click to show internal directories.
Click to hide internal directories.