Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AzSbConfig ¶
type Crier ¶
Crier is the interface for sending out data. It should get raw data and package it appropriately based on the message destination
func NewAzSbSink ¶
func NewAzSbSink(cfg *AzSbConfig) (Crier, error)
func NewNatsSbSink ¶
func NewNatsSbSink(cfg *NatsSbConfig) (Crier, error)
type NatsSbConfig ¶
type NatsSbSink ¶
type NatsSbSink struct {
// contains filtered or unexported fields
}
func (*NatsSbSink) Close ¶
func (n *NatsSbSink) Close()
type ReceiverConfig ¶
type ReceiverConfig struct { Name string `yaml:"name"` Azsb *AzSbConfig `yaml:"azsb"` Nats *NatsSbConfig `yaml:"nats"` Stdout *StdoutConfig `yaml:"stdout"` }
func (*ReceiverConfig) GetCrier ¶
func (r *ReceiverConfig) GetCrier() (Crier, error)
func (*ReceiverConfig) Validate ¶
func (r *ReceiverConfig) Validate() error
type Stdout ¶
type Stdout struct {
// contains filtered or unexported fields
}
func NewStdoutSink ¶
func NewStdoutSink(config *StdoutConfig) (*Stdout, error)
type StdoutConfig ¶
type StdoutConfig struct {
Layout map[string]interface{} `yaml:"layout"`
}
func (*StdoutConfig) Validate ¶
func (f *StdoutConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.