trace

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyPreHeaderToCurRoutine

func CopyPreHeaderToCurRoutine(preRoutineId uint64)

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

func GetClientIp

func GetClientIp() string

func GetGoroutineID

func GetGoroutineID() uint64

func GetHeader

func GetHeader(header string) string

func GetHeaders

func GetHeaders() map[string]string

func GetRequestId

func GetRequestId() string

func GetUserAgent

func GetUserAgent() string

func Headers

func Headers() gin.HandlerFunc

func PutRequestId

func PutRequestId(c *gin.Context)

func SetHeader

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