report

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	// contains filtered or unexported fields
}

type Report

type Report struct {
	// contains filtered or unexported fields
}

func Init

func Init(name string) *Report

func (*Report) PublishReport

func (r *Report) PublishReport()

func (*Report) ReportError

func (r *Report) ReportError(typ string, key string, error string)

ReportError can be used to report error for a typ and key for that type with an error msg If a key is reported twice it will be overwritten.

func (*Report) ReportErrors

func (r *Report) ReportErrors(typ string, key string, errors []string)

func (*Report) ReportMetric

func (r *Report) ReportMetric(typ string, value int)

ReportMetric to report metric for a type

Jump to

Keyboard shortcuts

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