Documentation ¶
Index ¶
- Constants
- func SearchStreams(ctx context.Context, indexes []*Reader, limitIDs *bitmask.LongBitmask, ...) ([]*Stream, bool, *DataRegexes, error)
- type ConverterAccess
- type Data
- type DataRegexes
- type Direction
- type Packet
- type Reader
- func (r *Reader) AllStreams(handler func(*Stream) error) error
- func (r *Reader) Close() error
- func (r *Reader) Filename() string
- func (r *Reader) MaxStreamID() uint64
- func (r *Reader) MinStreamID() uint64
- func (r *Reader) PacketCount() int
- func (r *Reader) StreamByFirstPacketSource(pcapFilename string, packetIndex uint64) (*Stream, error)
- func (r *Reader) StreamByID(streamID uint64) (*Stream, error)
- func (r *Reader) StreamCount() int
- func (r *Reader) StreamIDs() map[uint64]uint32
- type Stream
- func (s *Stream) ClientHostIP() string
- func (s *Stream) Data() ([]Data, error)
- func (s *Stream) FirstPacket() time.Time
- func (s *Stream) ID() uint64
- func (s *Stream) Index() uint32
- func (s *Stream) LastPacket() time.Time
- func (s *Stream) MarshalJSON() ([]byte, error)
- func (s *Stream) Packets() ([]Packet, error)
- func (s *Stream) Protocol() string
- func (s *Stream) Reader() *Reader
- func (s *Stream) ServerHostIP() string
- type Writer
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func SearchStreams ¶
func SearchStreams(ctx context.Context, indexes []*Reader, limitIDs *bitmask.LongBitmask, refTime time.Time, qs query.ConditionsSet, grouping *query.Grouping, sorting []query.Sorting, limit, skip uint, tagDetails map[string]query.TagDetails, converters map[string]ConverterAccess, extractRegexes bool) ([]*Stream, bool, *DataRegexes, error)
Types ¶
type ConverterAccess ¶
type DataRegexes ¶
type Reader ¶
func (*Reader) MaxStreamID ¶
func (*Reader) MinStreamID ¶
func (*Reader) PacketCount ¶
func (*Reader) StreamByFirstPacketSource ¶
func (*Reader) StreamCount ¶
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
func (*Stream) ClientHostIP ¶
func (*Stream) FirstPacket ¶
func (*Stream) LastPacket ¶
func (*Stream) MarshalJSON ¶
func (*Stream) ServerHostIP ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.