xspinners

package
Version: v0.0.0-...-796497b Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Name

type Name int
const (
	DOTS1 Name = iota
	DOTS2
	CIRCLE1
	ARROWS1
)

type Spinner

type Spinner struct {
	Name   string
	Delay  int
	Frames []string
	// contains filtered or unexported fields
}

func New

func New(spin Name, text string) *Spinner

func (*Spinner) Start

func (s *Spinner) Start()

func (*Spinner) Stop

func (s *Spinner) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL