collector

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: Apache-2.0 Imports: 15 Imported by: 6

Documentation

Index

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) 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 {
	Address       net.Addr
	MaxBufferSize uint16
	TemplateTTL   uint32
	IsEncrypted   bool
	// TODO: group following fields into struct to be reuse in exporter
	CACert     []byte
	ServerCert []byte
	ServerKey  []byte
}

Jump to

Keyboard shortcuts

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