Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flow ¶
type Flow struct {
ID uuid.UUID `bigquery:"id" json:"id"`
Protocol string `bigquery:"protocol" json:"protocol"`
Src Peer `bigquery:"src" json:"src"`
Dst Peer `bigquery:"dst" json:"dst"`
FirstSeenAt time.Time `bigquery:"first_seen_at"`
LastSeenAt time.Time `bigquery:"last_seen_at" json:"last_seen_at"`
SrcStat PeerStat `bigquery:"src_stat" json:"src_stat"`
DstStat PeerStat `bigquery:"dst_stat" json:"dst_stat"`
Status string `bigquery:"status" json:"status"`
}
type Peer ¶
type Peer struct {
Addr net.IP `bigquery:"addr" json:"addr"`
Port uint32 `bigquery:"port" json:"port"`
HWAddr net.HardwareAddr `bigquery:"-" json:"hw_addr,omitempty"`
Names []string `bigquery:"-" json:"names,omitempty"`
}
func (Peer) MarshalJSON ¶ added in v0.2.0
func (*Peer) UnmarshalJSON ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.