netInterface

package
v2.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Eth

type Eth struct {
	Name string
	Ip   string
}

func Load

func Load() ([]Eth, error)

func (Eth) Url

func (e Eth) Url(scheme, port string) *url.URL

type EthPrinter added in v2.0.4

type EthPrinter struct {
	Printer
	Scheme string
	Port   string
}

func (EthPrinter) EthSelect added in v2.0.4

func (p EthPrinter) EthSelect(list []Eth) []*url.URL

func (EthPrinter) EthUrl added in v2.0.4

func (p EthPrinter) EthUrl(eth Eth) *url.URL

type Printer

type Printer struct{}

func NewPrinter

func NewPrinter() Printer

func (Printer) Qr

func (p Printer) Qr(addr *url.URL)

func (Printer) Url

func (p Printer) Url(addr *url.URL)

func (Printer) Wget added in v2.0.3

func (p Printer) Wget(addr *url.URL, fileName string)

func (Printer) WithEth added in v2.0.4

func (Printer) WithEth(ssl bool, port string) EthPrinter

Jump to

Keyboard shortcuts

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