Documentation ¶
Index ¶
- func AppendGrpcIgnoreMetadataKeys(keys ...string)
- func CreateTraceId() string
- func GetMetadata(ctx *gin.Context, k string) string
- func GetTraceId(ctx *gin.Context) string
- func GinToGrpc(ctx *gin.Context) (c context.Context)
- func GrpcToGin(ctx context.Context) (c *gin.Context)
- func New() *gin.Context
- func SetMetadata(ctx *gin.Context, k, v string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendGrpcIgnoreMetadataKeys ¶ added in v0.3.5
func AppendGrpcIgnoreMetadataKeys(keys ...string)
func CreateTraceId ¶
func CreateTraceId() string
func GetTraceId ¶
func SetMetadata ¶ added in v0.2.65
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.