tui

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Reset       = "\033[0m"
	Red         = "\033[31m"
	Green       = "\033[32m"
	Yellow      = "\033[33m"
	Blue        = "\033[34m"
	Magenta     = "\033[35m"
	Cyan        = "\033[36m"
	White       = "\033[37m"
	BlueBold    = "\033[34;1m"
	MagentaBold = "\033[35;1m"
	RedBold     = "\033[31;1m"
	YellowBold  = "\033[33;1m"
)

Variables

This section is empty.

Functions

func PrintConnectionScreen

func PrintConnectionScreen(opt options.Options, publicUrl, clientVer, serverVer string, serverPrivate bool, expireAt int64)

func PrintError

func PrintError(err error)

func PrintInfo

func PrintInfo(s string)

func PrintLn

func PrintLn(s string)

func PrintURL

func PrintURL(m, u string, d time.Duration)

func PrintWarning

func PrintWarning(s string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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