context

package
v0.11.7 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ContextKeyRequestID contextKey = "requestId"
View Source
const ContextKeySessionID contextKey = "sessionId"
View Source
const ContextKeyTrackingID contextKey = "trackingId"

Variables

This section is empty.

Functions

func GetRequestID

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

func GetSessionID

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

func GetTrackingID

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

func SetRequestID

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

func SetSessionID

func SetSessionID(ctx context.Context, sessionID string) context.Context

func SetTrackingID

func SetTrackingID(ctx context.Context, trackingID string) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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