corel

package
v1.0.15-1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCtxWithCorelID added in v1.0.8

func GetCtxWithCorelID(ctx context.Context, requestID, sessionID string) context.Context

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 ...

Jump to

Keyboard shortcuts

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