taskstatus

package
v0.0.0-...-71ad85e Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Status

type Status struct {
	Info   []byte
	Status string
	Mutex  sync.Mutex
}

func NewStatus

func NewStatus() (status *Status)

func (*Status) AddCompleted

func (s *Status) AddCompleted()

func (*Status) AddError

func (s *Status) AddError(err error)

func (*Status) AddToInfo

func (s *Status) AddToInfo(newLine string)

func (*Status) UnsafeSetStarted

func (s *Status) UnsafeSetStarted()

Jump to

Keyboard shortcuts

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