common

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version       string
	CTX           context.Context
	AppName       = "notesmanager"
	TracerCmd     = otel.Tracer(os.Getenv("OTEL_SERVICE_NAME"))
	TracerWeb     = otel.Tracer(os.Getenv("OTEL_SERVICE_NAME"))
	MeterProvider = metric.NewMeterProvider()
)

Functions

func GetVersion added in v0.4.0

func GetVersion() string

func HandleError added in v0.4.14

func HandleError(ctx context.Context, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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