Documentation ¶
Index ¶
- Constants
- func GetReferer(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 SetReferer(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 ContextKeyReferer contextKey = "referer"
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 SetReferer ¶ added in v0.14.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.