tools

package
v0.0.0-...-6659d08 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: Apache-2.0 Imports: 12 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

func ReadLine

func ReadLine(reader *bufio.Reader) ([]byte, error)

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