source

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL