Documentation ¶ Index ¶ type Source func New(globalConfig *config.Config, Config *config.SourceConfig, errFunc func(error), ...) *Source func (s *Source) AddMessage(msg *receiver.Message) error func (s *Source) AddReceiver(r *receiver.Receiver) func (s *Source) Listen(wg *sync.WaitGroup) error func (s *Source) Stop() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Source ¶ type Source struct { IP net.IP Config *config.SourceConfig // contains filtered or unexported fields } func New ¶ func New(globalConfig *config.Config, Config *config.SourceConfig, errFunc func(error), logFunc func(string)) *Source func (*Source) AddMessage ¶ func (s *Source) AddMessage(msg *receiver.Message) error func (*Source) AddReceiver ¶ func (s *Source) AddReceiver(r *receiver.Receiver) func (*Source) Listen ¶ func (s *Source) Listen(wg *sync.WaitGroup) error func (*Source) Stop ¶ func (s *Source) Stop() Source Files ¶ View all Source files source.go Click to show internal directories. Click to hide internal directories.