tools

package
v0.0.0-...-511da98 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertFolderRWXPermissions

func AssertFolderRWXPermissions(name, dir string)

func IsFileExecutable

func IsFileExecutable(name string) bool

func ListFiles

func ListFiles(dir, extension string) ([]string, error)

func MakeFilename

func MakeFilename(dir, extension string) string

Types

type SeekablePcapHolder

type SeekablePcapHolder struct {
	// contains filtered or unexported fields
}

func NewSeekablePcapHolder

func NewSeekablePcapHolder(filename string) *SeekablePcapHolder

func (*SeekablePcapHolder) Close

func (s *SeekablePcapHolder) Close()

func (*SeekablePcapHolder) Packet

func (s *SeekablePcapHolder) Packet(packetIndex uint64) (gopacket.Packet, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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