netflowdb

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InputQueue = make(chan []*netdb.NetFlowEntry, 128)
View Source
var RequestQueue = make(chan *netdb.TrafficMetricsRequest, 128)

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Query(r *netdb.TrafficMetricsRequest) (*netdb.TrafficMetricsResponse, error)
	WriteBatch(nfel []*netdb.NetFlowEntry) error
	Scan() ([]*netdb.NetFlowEntry, error)
	Close()
}

func Open

func Open(db *badger.DB) Interface

Jump to

Keyboard shortcuts

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