implement

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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 NewLibraryInstance

func NewLibraryInstance(opt *def.Option) (*Library, error)

func (*Library) AsyncProcessPacket

func (t *Library) AsyncProcessPacket(interfaceId def.InterfaceId, pktData []byte, onDetectCompleted def.OnDetectCompleted) (retErr error)

func (*Library) Collect

func (t *Library) Collect(detectInfo *def.DetectionInfo) 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)

func (*Library) Start

func (t *Library) Start() error

func (*Library) Stop

func (t *Library) Stop()

Jump to

Keyboard shortcuts

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