metadata

package
v14.10.5 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetValue

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

GetValue returns the first value in the metadata slice based on a key

func IncomingToOutgoing added in v14.4.0

func IncomingToOutgoing(ctx context.Context) context.Context

IncomingToOutgoing creates an outgoing context out of an incoming context with the same storage metadata

func OutgoingToIncoming added in v14.4.0

func OutgoingToIncoming(ctx context.Context) context.Context

OutgoingToIncoming creates an incoming context out of an outgoing context with the same storage metadata

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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