reporter

package
v0.12.0-m3 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	// Start reports that an operation or sequence of operations is starting.
	Start(message string, args ...interface{})

	// Success reports that the last operation succeeded with the specified message.
	Success(message string, args ...interface{})

	// Failure reports that the last operation failed with the specified message.
	Failure(message string, args ...interface{})

	// End the current operation that was previously initiated via Start.
	End()

	// Warning reports a warning message for the last operation.
	Warning(message string, args ...interface{})

	// Error wraps err with the supplied message, reports it as a failure, ends the current operation, and returns the error.
	Error(err error, message string, args ...interface{}) error
}

Interface for reporting on the progress of an operation.

Jump to

Keyboard shortcuts

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