util

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	ID          string
	KokoVersion string
}

Info holds the metadata to be sent as part of a report.

type MultiError

type MultiError struct {
	Errors []error
}

func (MultiError) Error

func (m MultiError) Error() string

type Reporter

type Reporter struct {
	Info Info

	Logger *zap.Logger
	// contains filtered or unexported fields
}

Reporter sends anonymous reports of runtime properties and errors in Kong.

func (Reporter) Run

func (r Reporter) Run(ctx context.Context)

Run starts the reporter. It will send reports until done is closed.

Jump to

Keyboard shortcuts

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