agent

package
v1.7.7 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	// contains filtered or unexported fields
}

func New

func New(interfaceName string, filter string, archivistAddress string, agentName string) (*Agent, error)

func (*Agent) Close

func (agent *Agent) Close()

func (*Agent) Start

func (agent *Agent) Start() error

type BatchQueue

type BatchQueue struct {
	// contains filtered or unexported fields
}

func NewBatchQueue

func NewBatchQueue(cap int, timeout time.Duration, f func([]*pb.Packet)) *BatchQueue

func (*BatchQueue) Add

func (bq *BatchQueue) Add(pkt *pb.Packet)

Jump to

Keyboard shortcuts

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