Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archiver ¶
type Archiver struct {
// contains filtered or unexported fields
}
func (*Archiver) Store ¶
func (a *Archiver) Store(sr *SniffRecord)
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) LogWarning ¶
type MessageHeader ¶ added in v0.3.0
type SegmentHeader ¶ added in v0.3.0
type SniffRecord ¶
type SniffRecord struct { Timestamp time.Time `json:"t"` Version int `json:"v"` SourceAddress string `json:"src_addr"` SourcePort int `json:"src_port"` DestinationAddress string `json:"dst_addr"` DestinationPort int `json:"dst_port"` SegmentHeader *SegmentHeader `json:"segment_header"` MessageHeader *MessageHeader `json:"message_header"` MessageData []byte `json:"message_data"` }
func (*SniffRecord) GetDestinationAddress ¶
func (s *SniffRecord) GetDestinationAddress() net.IP
func (*SniffRecord) GetSourceAddress ¶
func (s *SniffRecord) GetSourceAddress() net.IP
Click to show internal directories.
Click to hide internal directories.