Documentation ¶
Index ¶
Constants ¶
View Source
const KafkaType = "kafka"
KafkaType type of sink
View Source
const MaxRetry = 20
MaxRetry retry max
View Source
const OvhKafkaType = "ovhkafka"
OvhKafkaType type of sink
View Source
const StdoutType = "stdout"
StdoutType type of sink
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kafka ¶
type Kafka struct { *Sink // contains filtered or unexported fields }
Kafka representation of kafka sink
func (*Kafka) GetInputChan ¶
func (k *Kafka) GetInputChan() chan *events.LookatchEvent
GetInputChan return input channel attach to sink
type Sink ¶
type Sink struct {
// contains filtered or unexported fields
}
Sink representation of sink
type SinkI ¶
type SinkI interface { Start(...interface{}) error GetInputChan() chan *events.LookatchEvent }
SinkI sink interface
type Stdout ¶
type Stdout struct {
*Sink
}
Stdout representation of sink
func (*Stdout) GetInputChan ¶
func (s *Stdout) GetInputChan() chan *events.LookatchEvent
GetInputChan return input channel attach to sink
Click to show internal directories.
Click to hide internal directories.