spin

package
v0.0.0-...-c98f1fc Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2018 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type L

type L = L256_256

Default limited spinner

type L128_1024

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

Limited spinner with Gosched every 128 iteration and maximum 1024 Gosched-s

func (*L128_1024) Spin

func (s *L128_1024) Spin() bool

type L256_256

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

L256_256 is a limited spinner with Gosched every 256 iteration and maximum 1024 Gosched-s

func (*L256_256) Spin

func (s *L256_256) Spin() bool

type Second

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

Limited spinner upto 1 second

func (*Second) Spin

func (s *Second) Spin() bool

type T

type T = T256

Default spintter

type T256

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

T256 is a spinner with Gosched every 256 iterations

func (*T256) Spin

func (s *T256) Spin() bool

Jump to

Keyboard shortcuts

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