Documentation ¶
Index ¶
- Constants
- func GetReferrer(ctx context.Context) (string, bool)
- func GetRequestID(ctx context.Context) (string, bool)
- func GetSessionID(ctx context.Context) (string, bool)
- func GetTrackingID(ctx context.Context) (string, bool)
- func SetReferrer(ctx context.Context, referer string) context.Context
- func SetRequestID(ctx context.Context, requestID string) context.Context
- func SetSessionID(ctx context.Context, sessionID string) context.Context
- func SetTrackingID(ctx context.Context, trackingID string) context.Context
Constants ¶
View Source
const ContextKeyReferrer contextKey = "referrer"
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 SetReferrer ¶ added in v0.14.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.