formatter

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TitleHighlight = lipgloss.NewStyle().
		Background(lipgloss.Color("#F25D94")).
		MarginTop(1).
		MarginLeft(10).
		MarginRight(10).
		Padding(0, 1).
		Italic(true).
		Foreground(lipgloss.Color("#FFF7DB"))
)

Functions

func Graph

func Graph(m map[string][]pkg.Node, vpairs, los []pkg.Node, bm map[string]*net.IP) (string, error)

func Print

func Print(w io.Writer, vm map[string][]pkg.Node, netNsMap map[int]string, vpairs []pkg.Node, all bool)

func Table

func Table(w io.Writer, m map[string][]pkg.Node) error

func TableParis

func TableParis(w io.WriteCloser, vpairs []pkg.Node)

Types

This section is empty.

Jump to

Keyboard shortcuts

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