storage

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LookupFlows added in v0.5.0

func LookupFlows(s Storage, context graph.GraphContext, filter *flow.Filter, interval *flow.Range) ([]*flow.Flow, error)

func LookupFlowsByNodes added in v0.5.0

func LookupFlowsByNodes(s Storage, context graph.GraphContext, hnmap flow.HostNodeIDMap, filter *flow.Filter, interval *flow.Range) ([]*flow.Flow, error)

Types

type Storage

type Storage interface {
	Start()
	StoreFlows(flows []*flow.Flow) error
	SearchFlows(filter *flow.Filter, interval *flow.Range) ([]*flow.Flow, error)
	Stop()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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