common

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SpinnerCircleOutlineSet = "◜◠◯◎◉●◉◎◯◡◞"
	SpinnerCircleSet        = "◌◯◎◉●◉◎◯"
	SpinnerDotSet           = "⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏"
	SpinnerHorizontalBarSet = "▉▊▋▌▍▎▏▎▍▌▋▊▉"
	SpinnerVerticalBarSet   = "▁▃▄▅▆▇█▇▆▅▄▃▁"
	SpinnerDoubleBarSet     = "▁▂▃▄▅▆▇█▉▊▋▌▍▎▏▏▎▍▌▋▊▉█▇▆▅▄▃▂▁"
	SpinnerArrowSet         = "←↖↑↗→↘↓↙"
)

Variables

View Source
var SpinnerCircleDotSet = []string{
	"⠈⠁",
	"⠈⠑",
	"⠈⠱",
	"⠈⡱",
	"⢀⡱",
	"⢄⡱",
	"⢄⡱",
	"⢆⡱",
	"⢎⡱",
	"⢎⡰",
	"⢎⡠",
	"⢎⡀",
	"⢎⠁",
	"⠎⠁",
	"⠊⠁",
}

Functions

func VulnerabilityScanningFinishedHandler

func VulnerabilityScanningFinishedHandler(event partybus.Event) error

Types

type Spinner

type Spinner struct {
	// contains filtered or unexported fields
}

func NewSpinner

func NewSpinner(charset string) Spinner

func NewSpinnerFromSlice

func NewSpinnerFromSlice(charset []string) Spinner

func (*Spinner) Current

func (s *Spinner) Current() string

func (*Spinner) Next

func (s *Spinner) Next() string

Jump to

Keyboard shortcuts

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