Documentation ¶
Index ¶
- type CollectingProcess
- func (cp *CollectingProcess) CloseMsgChan()
- func (cp *CollectingProcess) GetAddress() net.Addr
- func (cp *CollectingProcess) GetMsgChan() chan *entities.Message
- func (cp *CollectingProcess) GetNumOfConnToCollector() int
- func (cp *CollectingProcess) GetNumOfRecordsReceived() uint64
- func (cp *CollectingProcess) Start()
- func (cp *CollectingProcess) Stop()
- type CollectorInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectingProcess ¶ added in v0.3.1
type CollectingProcess struct {
// contains filtered or unexported fields
}
func InitCollectingProcess ¶
func InitCollectingProcess(input CollectorInput) (*CollectingProcess, error)
func (*CollectingProcess) CloseMsgChan ¶ added in v0.4.0
func (cp *CollectingProcess) CloseMsgChan()
func (*CollectingProcess) GetAddress ¶ added in v0.4.0
func (cp *CollectingProcess) GetAddress() net.Addr
func (*CollectingProcess) GetMsgChan ¶ added in v0.3.1
func (cp *CollectingProcess) GetMsgChan() chan *entities.Message
func (*CollectingProcess) GetNumOfConnToCollector ¶ added in v0.5.8
func (cp *CollectingProcess) GetNumOfConnToCollector() int
func (*CollectingProcess) GetNumOfRecordsReceived ¶ added in v0.5.8
func (cp *CollectingProcess) GetNumOfRecordsReceived() uint64
func (*CollectingProcess) Start ¶ added in v0.3.1
func (cp *CollectingProcess) Start()
func (*CollectingProcess) Stop ¶ added in v0.3.1
func (cp *CollectingProcess) Stop()
type CollectorInput ¶ added in v0.4.0
type CollectorInput struct { IsIPv6 bool IsEncrypted bool // Address needs to be provided in hostIP:port format. Address string // Protocol needs to be provided in lower case format. // We support "tcp" and "udp" protocols. Protocol string MaxBufferSize uint16 TemplateTTL uint32 // TODO: group following fields into struct to be reuse in exporter CACert []byte ServerCert []byte ServerKey []byte NumExtraElements int }
Click to show internal directories.
Click to hide internal directories.