Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartOutput ¶
Types ¶
type DefaultSink ¶
type DefaultSink struct{}
DefaultSource is an implementation of the SourceIface used to create inputs
func (*DefaultSink) Create ¶
func (*DefaultSink) Create(config SinkConfig) (Sink, error)
type FileConfig ¶
type FileConfig struct {
Path string `json:"path"`
}
type FileOutput ¶
type FileOutput struct { FileName string // contains filtered or unexported fields }
func (*FileOutput) Close ¶
func (f *FileOutput) Close() error
func (*FileOutput) Init ¶
func (f *FileOutput) Init(...interface{}) error
func (*FileOutput) Sink ¶
func (f *FileOutput) Sink(input *chan interface{})
type OutputEvent ¶
type SinkConfig ¶
type SinkConfig struct { Type string `json:"type"` FileConfig FileConfig `json:"file_config,omitempty"` SqsConfig SqsConfig `json:"sqs_config,omitempty"` }
type SinkIface ¶
type SinkIface interface {
Create(config SinkConfig) (Sink, error)
}
SourceIface provides an interface for creating input sources
Click to show internal directories.
Click to hide internal directories.