Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbackFunc ¶
type EmbeddedOptionFunc ¶
type EmbeddedOptionFunc func(*EmbeddedOutput)
func WithCallbackFunc ¶
func WithCallbackFunc(callbackFunc CallbackFunc) EmbeddedOptionFunc
WithCallbackFunc specifies a callback function for events
func WithOutputChan ¶
func WithOutputChan(outputChan chan event.Event) EmbeddedOptionFunc
WithOutputChan specifies an event.Event channel to use for events
type EmbeddedOutput ¶
type EmbeddedOutput struct {
// contains filtered or unexported fields
}
func New ¶
func New(options ...EmbeddedOptionFunc) *EmbeddedOutput
func (*EmbeddedOutput) ErrorChan ¶
func (e *EmbeddedOutput) ErrorChan() chan error
ErrorChan returns the input error channel
func (*EmbeddedOutput) InputChan ¶
func (e *EmbeddedOutput) InputChan() chan<- event.Event
InputChan returns the input event channel
func (*EmbeddedOutput) OutputChan ¶
func (e *EmbeddedOutput) OutputChan() <-chan event.Event
OutputChan always returns nil
Click to show internal directories.
Click to hide internal directories.