libs

package
v0.0.0-...-f0e419b Latest Latest
Warning

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

Go to latest
Published: May 2, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queries

type Queries []Query

func (*Queries) AddIfNotExists

func (self *Queries) AddIfNotExists(query Query)

func (*Queries) Find

func (self *Queries) Find(query Query) int

type Query

type Query struct {
	Query string `json:"query"`

	Start time.Time `json:"start"`
	Stop  time.Time `json:"stop"`

	Duration time.Duration `json:"duration"`

	SrcIP net.IP `json:"srcip"`
	DstIP net.IP `json:"dstip"`

	SrcPort layers.TCPPort `json:"srcport"`
	DstPort layers.TCPPort `json:"dstport"`

	ID string `json:"id"`

	WithResponse bool `json:"bool"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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