tracing

package
v0.0.0-...-ea178e4 Latest Latest
Warning

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

Go to latest
Published: May 8, 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