capinfo

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Goroutinewg *sync.WaitGroup

Functions

func MakeCommands

func MakeCommands() commands

Types

type ICapinfoCallbacks

type ICapinfoCallbacks interface {
	OnCapinfoData(data string)
	AfterCapinfoEnd(success bool)
}

type ILoaderCmds

type ILoaderCmds interface {
	Capinfo(pcap string) pcap.IPcapCommand
}

type Loader

type Loader struct {
	SuppressErrors bool // if true, don't report process errors e.g. at shutdown
	// contains filtered or unexported fields
}

func NewLoader

func NewLoader(cmds ILoaderCmds, ctx context.Context) *Loader

func (*Loader) StartLoad

func (c *Loader) StartLoad(pcap string, app gowid.IApp, cb ICapinfoCallbacks)

func (*Loader) StopLoad

func (c *Loader) StopLoad()

Jump to

Keyboard shortcuts

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