trace

package
v1.19.33 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyPreHeaderToCurRoutine added in v1.1.16

func CopyPreHeaderToCurRoutine(preRoutineId uint64)

从其他协程克隆headers到当前协程的缓存

func GetClientIp added in v1.1.6

func GetClientIp() string

func GetGoroutineID added in v1.1.15

func GetGoroutineID() uint64

func GetHeader added in v1.1.9

func GetHeader(header string) string

func GetHeaders added in v1.1.9

func GetHeaders() map[string]string

func GetRequestId

func GetRequestId() string

func GetUserAgent added in v1.1.6

func GetUserAgent() string

func Headers added in v1.1.9

func Headers() gin.HandlerFunc

func PutRequestId

func PutRequestId(c *gin.Context)

func SetHeader added in v1.19.33

func SetHeader(key, value string)

func TraceId

func TraceId() gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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