Documentation
¶
Index ¶
- func GetRequestDepth(ctx context.Context) int
- func GetRequestID(ctx context.Context) string
- func GetRequestRoute(ctx context.Context) string
- func GetTrackingID(ctx context.Context) string
- func GetTreePath(ctx context.Context) string
- func WithRequestDepth(ctx context.Context, requestDepth int) context.Context
- func WithRequestID(ctx context.Context, requestID string) context.Context
- func WithRequestRoute(ctx context.Context, requestRoute string) context.Context
- func WithTrackingID(ctx context.Context, trackingID string) context.Context
- func WithTreePath(ctx context.Context, treePath string) context.Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRequestDepth ¶
func GetRequestID ¶
GetRequestID allows to access the TrackingID details from the context. (deprecated)
func GetRequestRoute ¶
GetRequestRoute allows to access the RequestRoute details from the context.
func GetTrackingID ¶ added in v0.2.1
GetTrackingID allows to access the TrackingID details from the context.
func GetTreePath ¶
func WithRequestDepth ¶
func WithRequestRoute ¶
func WithTrackingID ¶ added in v0.2.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.