render

package
v0.0.0-...-9eb5fdd Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Timeout = 2 * time.Second

Timeout bounds a command's reverse lookups: a stalled resolver must not hold the command open.

Variables

This section is empty.

Functions

func Addr

func Addr(ctx context.Context, addr string, noDNS bool) string

Addr names an address for display, keeping the address itself when there is no PTR or the resolver does not answer in time.

func Table

func Table(w io.Writer, align []tw.Align, header ...string) *tablewriter.Table

Table is the table every ptpcheck command prints.

Types

This section is empty.

Jump to

Keyboard shortcuts

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