Documentation ¶
Index ¶
- func ReleaseFullPacket(fullPkt *def.FullPacket)
- type Library
- func (t *Library) AsyncProcessPacket(interfaceId def.InterfaceId, pktData []byte, ...) (retErr error)
- func (t *Library) Collect(detectInfo *def.DetectionInfo) error
- func (t *Library) FastDetect(interfaceId def.InterfaceId, pktData []byte, ...) error
- func (t *Library) PopFullPackets(count int) ([]*def.FullPacket, error)
- func (t *Library) Start() error
- func (t *Library) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseFullPacket ¶
func ReleaseFullPacket(fullPkt *def.FullPacket)
Types ¶
type Library ¶
type Library struct {
// contains filtered or unexported fields
}
func (*Library) AsyncProcessPacket ¶
func (t *Library) AsyncProcessPacket(interfaceId def.InterfaceId, pktData []byte, onDetectCompleted def.OnDetectCompleted) (retErr error)
func (*Library) FastDetect ¶
func (t *Library) FastDetect(interfaceId def.InterfaceId, pktData []byte, replyDetectInfo *def.DetectionInfo) error
func (*Library) PopFullPackets ¶
func (t *Library) PopFullPackets(count int) ([]*def.FullPacket, error)
Click to show internal directories.
Click to hide internal directories.