Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServeDuration ¶
func ServeDuration()
func UpdateProgressComplete ¶
func UpdateProgressComplete(complete bool)
func UpdateProgressCompletedSuccessfully ¶
func UpdateProgressCompletedSuccessfully(completedSuccessfully bool)
Types ¶
type Events ¶
type Events interface { Publish(*StatusEvent) error Subscribe(func(*StatusEvent)) error }
Events interface for publish/subscribing to events
type StatusEvent ¶
StatusEvent is type that is used for pub/sub of events
func (StatusEvent) ToLogrusFields ¶
func (s StatusEvent) ToLogrusFields() logrus.Fields
ToLogrusFields is a helper for the logrus library
Click to show internal directories.
Click to hide internal directories.