helpers

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: BSD-3-Clause Imports: 8 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRegisters

func GetRegisters(options ...GetRegistersOption) (registers.Registers, error)

GetRegisters extracts status registers.

func PrintRegister

func PrintRegister(reg registers.Register)

PrintRegister outputs a single register in a detailed human-readable format

func PrintRegisters

func PrintRegisters(regs registers.Registers)

PrintRegisters outputs registers in a detailed human-readable format

Types

type FlagRegisters

type FlagRegisters registers.Registers

FlagRegisters is a flag.Value implementation to enter status registers.

func (*FlagRegisters) Set

func (f *FlagRegisters) Set(in string) error

Set implements flag.Value

func (*FlagRegisters) String

func (f *FlagRegisters) String() string

String implements flag.Value

type GetRegistersOption

type GetRegistersOption interface {
	// contains filtered or unexported methods
}

GetRegistersOption is an option for function GetRegisters

type OptLocalhostByDefault

type OptLocalhostByDefault bool

OptLocalhostByDefault an option to GetRegisters which signals to extract data from localhost if no other sources are provided.

type OptTXTPublic

type OptTXTPublic string

OptTXTPublic an option to GetRegisters to provide a path to a file with TXT Public space dumped.

Jump to

Keyboard shortcuts

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