helper

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2017 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Standalone bool
)

Functions

func ExecCmds added in v0.2.0

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

func FilterIPv6AddrAnd added in v0.7.0

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

func FlowsToString added in v0.10.0

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

func GenerateFakeX509Certificate added in v0.8.0

func GenerateFakeX509Certificate(certType string) (string, string)

func InitConfig

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

func SendPCAPFile added in v0.10.0

func SendPCAPFile(filename string, socket string) error

func WSConnect added in v0.9.0

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

Types

type Cmd added in v0.2.0

type Cmd struct {
	Cmd   string
	Check bool
}

type HelperParams added in v0.4.0

type HelperParams map[string]interface{}

Source Files

  • helper.go

Jump to

Keyboard shortcuts

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