Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCtxWithCorelID ¶ added in v1.0.8
GetCtxWithCorelID ... Will be of no use once the consumer stops copying the context.
func GinSetCoRelID ¶ added in v1.0.10
func GinSetCoRelID(c *gin.Context, corelid CoRelationId)
GinSetCoRelID ...
Types ¶
type CoRelationId ¶
type CoRelationId struct { RequestID string `json:"requestID"` SessionID string `json:"sessionID"` }
CoRelationId correlationData
func GetCorelationId ¶
func GetCorelationId(ctx context.Context) (corelid CoRelationId, err error)
GetCorelationId ...
Click to show internal directories.
Click to hide internal directories.