helper

package
v0.0.0-...-5b448de Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2017 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Standalone        bool
	GraphOutputFormat string
)

Functions

func ExecCmds

func ExecCmds(t *testing.T, cmds ...Cmd) error

func FilterIPv6AddrAnd

func FilterIPv6AddrAnd(flows []*flow.Flow, A, B string) (r []*flow.Flow)

func FlowsToString

func FlowsToString(flows []*flow.Flow) string

func InitConfig

func InitConfig(conf string, params ...HelperParams) error

func SendPCAPFile

func SendPCAPFile(filename string, socket string) error

func WSClose

func WSClose(ws *websocket.Conn) error

func WSConnect

func WSConnect(endpoint string, timeout int, onReady func(*websocket.Conn)) (*websocket.Conn, error)

Types

type Cmd

type Cmd struct {
	Cmd   string
	Check bool
}

type HelperParams

type HelperParams map[string]interface{}

Jump to

Keyboard shortcuts

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