package spinner

import "github.com/oslokommune/okctl/pkg/spinner"

Package spinner initialises a spinner and provides functionality for associating a timer with the spinner

Index

Types

type Spinner

type Spinner interface {
	Start(component string) error
	Stop() error
	Pause() error
	Unpause() error
	SubSpinner() Spinner
}

Spinner defines the available operations

func New

func New(suffix string, out io.Writer) (Spinner, error)

New creates a new spinner

Source Files

doc.go spinner.go

Version
v0.0.106 (latest)
Published
Oct 21, 2022
Platform
linux/amd64
Imports
4 packages
Last checked
7 hours ago

Tools for package owners.