Documentation ¶
Overview ¶
Package spinner proxy is a package that provides a spinner proxy for the app.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Spinner ¶
type Spinner interface {
NewSpinner() SpinnerInstanceInterface
}
Spinner is an interface for spinner.
type SpinnerInstance ¶
SpinnerInstance is a struct that implements SpinnerInstanceInterface.
func (*SpinnerInstance) Reverse ¶
func (s *SpinnerInstance) Reverse()
Reverse is a proxy for spinner.Spinner.Reverse.
func (*SpinnerInstance) SetColor ¶
func (s *SpinnerInstance) SetColor(colors ...string) error
SetColor is a proxy for spinner.Spinner.Color.
func (*SpinnerInstance) SetSuffix ¶
func (s *SpinnerInstance) SetSuffix(suffix string)
SetSuffix is a proxy for spinner.Spinner.Suffix.
func (*SpinnerInstance) Start ¶
func (s *SpinnerInstance) Start()
Start is a proxy for spinner.Spinner.Start.
func (*SpinnerInstance) Stop ¶
func (s *SpinnerInstance) Stop()
Stop is a proxy for spinner.Spinner.Stop.
type SpinnerInstanceInterface ¶
type SpinnerInstanceInterface interface { Reverse() SetColor(colors ...string) error SetSuffix(suffix string) Start() Stop() }
SpinnerInstanceInterface is an interface for spinner.Spinner
type SpinnerProxy ¶
type SpinnerProxy struct{}
SpinnerProxy is a struct that implements Spinner.
func (*SpinnerProxy) NewSpinner ¶
func (*SpinnerProxy) NewSpinner() SpinnerInstanceInterface
New is a proxy for spinner.New.
Click to show internal directories.
Click to hide internal directories.