cContext

package module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 9 Imported by: 4

Documentation

Index

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 GetMetadata added in v0.2.65

func GetMetadata(ctx *gin.Context, k string) string

func GetTraceId

func GetTraceId(ctx *gin.Context) string

func GinToGrpc added in v0.2.64

func GinToGrpc(ctx *gin.Context) (c context.Context)

func GrpcToGin added in v0.2.64

func GrpcToGin(ctx context.Context) (c *gin.Context)

func New

func New() *gin.Context

func SetMetadata added in v0.2.65

func SetMetadata(ctx *gin.Context, k, v string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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