context

package
v0.0.0-...-a4800a5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTPReqIDKey  = "httpReqID"
	HTTPSessIDKey = "httpSessID"
	BNISessIDKey  = "bniSessID"
)

Variables

This section is empty.

Functions

func WithBNISessID

func WithBNISessID(ctx context.Context, sessionId string) context.Context

WithBNISessionId returns a context which knows its BNI session ID

func WithHTTPReqID

func WithHTTPReqID(ctx context.Context, reqId string) context.Context

WithRqId returns a context which knows its HTTP request ID

func WithHTTPSessID

func WithHTTPSessID(ctx context.Context, sessionId string) context.Context

WithSessionId returns a context which knows its HTTP session ID

Types

This section is empty.

Jump to

Keyboard shortcuts

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