ctx

package
v0.0.3-0...-d907587 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContextWithRequestID

func NewContextWithRequestID(c context.Context, r *http.Request) context.Context

NewContextWithRequestID takes a context and an *http.Request and returns a new context with the RequestID.

func RequestIDFromContext

func RequestIDFromContext(c context.Context) string

RequestIDFromContext extracts the RequestID from the supplied context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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