Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewValidatedRedisClient ¶
NewValidatedRedisClient creates a new redis client and performs a PING before returning it
Types ¶
type Spinner ¶
type Spinner struct {
// contains filtered or unexported fields
}
Spinner keeps track of a message and a spin character. It can be used to indicate progress in between processing work items by repeatedly calling Tick()
func NewSpinner ¶
NewSpinner creates a spinner with the provided message. This message will be printed together with the current spin character. It may be empty
func (*Spinner) Tick ¶
func (s *Spinner) Tick()
Tick prints the spinner character to stdout and advances the spinner by one tick
func (*Spinner) TickWithUpdate ¶
TickWithUpdate prints the spinner message to stdout and advances the spinner by one tick
Click to show internal directories.
Click to hide internal directories.