tracing

package
v0.0.0-...-6343e97 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableTracing

func EnableTracing(ctx context.Context, appName string, s OnShutdowner) error

EnableTracing enables tracing.

Types

type OnShutdowner

type OnShutdowner interface {
	OnShutdown(onShutdown func())
}

OnShutdowner is an interface that allows a caller to register a function to be called when the application is shutting down.

Jump to

Keyboard shortcuts

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