request

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: ISC Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWithID

func ContextWithID(ctx context.Context, requestID string) context.Context

ContextWithID creates a new context with a request id.

func IDFromContext

func IDFromContext(ctx context.Context) (string, bool)

IDFromContext retrieves a request id from a context.

func NewID

func NewID() string

NewID creates a new request id.

Types

This section is empty.

Jump to

Keyboard shortcuts

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