common

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

View Source
const (
	LevelTrace             slog.Level = -16
	LevelMetric            slog.Level = -8
	TraceStart             string     = "start"
	TraceEvent             string     = "event"
	TraceEnd               string     = "end"
	MetricFloat64Counter   string     = "float64counter"
	MetricInt64Counter     string     = "int64counter"
	MetricFloat64Histogram string     = "float64histogram"
	MetricInt64Histogram   string     = "int64histogram"
)

Variables

This section is empty.

Functions

func Get

func Get(ctx context.Context) (*map[string]any, bool)

func Store

func Store(ctx context.Context, m *map[string]any) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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