commons

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IntfId   = ""
	PcapFile = ""

	ReplayFast = false
	WithGui    = false
)

options vars

View Source
var (
	Start     time.Time
	BytesSent int

	LastTS   time.Time
	LastSend time.Time

	Pkt     int
	TsStart time.Time
	TsEnd   time.Time
	Packets int
	Size    int

	PcapHandle *pcap.Handle
)

replay vars

View Source
var (
	MainWin  fyne.Window
	MainPane fyne.Container

	DeviceName        string //todo: remove
	DeviceDescription string //todo: remove
	DeviceAddress     string //todo: remove

	//Stats1 *widget.Entry //todo: need to create
	//Stats2 *widget.Entry
	Stats1 = binding.NewString() //todo: need to create
	Stats2 = binding.NewString()

	//StatPBar *widget.ProgressBar
	StatPBar = binding.NewFloat()
)

gui vars todo: make structs for vars

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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