backends

package
v0.0.0-...-3b9963d Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTestFlow

func GetTestFlow() map[uint16]fields.Value

func GetTestFlowRand

func GetTestFlowRand(i int64) map[uint16]fields.Value

Types

type Backend

type Backend interface {
	Init()
	Status() string
	Configure(map[string]string)
	Add(map[uint16]fields.Value)
	Prune(string)
}

Backends are outbound interfaces for data

type Dump

type Dump struct{}

func (Dump) Add

func (b Dump) Add(values map[uint16]fields.Value)

func (Dump) Configure

func (b Dump) Configure(config map[string]string)

func (Dump) Init

func (b Dump) Init()

func (Dump) Prune

func (b Dump) Prune(interval string)

func (Dump) Status

func (b Dump) Status() string

func (Dump) Test

func (b Dump) Test() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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