Documentation
¶
Index ¶
- Variables
- func Connect(endpoint string, timeout int, onReady func(*websocket.Conn)) (*websocket.Conn, error)
- func DecodeStructMessageJSON(b []byte) *ws.StructMessage
- func ExecCmds(t *testing.T, cmds ...Cmd) (e error)
- func FilterIPv6AddrAnd(flows []*flow.Flow, A, B string) (r []*flow.Flow)
- func FlowsToString(flows []*flow.Flow) string
- func InitConfig(conf string, params ...HelperParams) error
- func SendPCAPFile(filename string, socket string) error
- func WSClose(ws *websocket.Conn) error
- type Cmd
- type HelperParams
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DecodeStructMessageJSON ¶ added in v0.19.1
func DecodeStructMessageJSON(b []byte) *ws.StructMessage
func FilterIPv6AddrAnd ¶ added in v0.7.0
func FlowsToString ¶ added in v0.10.0
func InitConfig ¶
func InitConfig(conf string, params ...HelperParams) error
func SendPCAPFile ¶ added in v0.10.0
Types ¶
type HelperParams ¶ added in v0.4.0
type HelperParams map[string]interface{}
Click to show internal directories.
Click to hide internal directories.