meta

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RequestID for meta.
	RequestID = "app.request_id"
)

Variables

This section is empty.

Functions

func Attribute

func Attribute(ctx context.Context, key string) string

Attribute of meta.

func Attributes

func Attributes(ctx context.Context) map[string]string

Attributes of meta.

func WithAttribute

func WithAttribute(ctx context.Context, key, value string) context.Context

WithAttribute to meta.

Types

This section is empty.

Jump to

Keyboard shortcuts

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