package
0.0.0-20240920171339-3076bdaa6576
Repository: https://github.com/leeprince/goinfra.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
MustReadHeaderByCurrentContext 从当前进程的上下文中获取 header,并忽略错误.
MustReadHeaderByIncomingContext 从外部系统(Grpc调用)的上下文中获取 header,并忽略错误.
MustReadHeaderContext (从当前进程的上下文中获取 header || 从外部系统(Grpc调用)的上下文中获取 header), 并忽略错误.
ReadHeaderByContext 从当前进程的上下文中获取 header || 从外部系统(Grpc调用)的上下文中获取 header.
ReadHeaderByCurrentContext 从当前进程的上下文中获取 header.
ReadHeaderByIncomingContext 从外部系统(Grpc调用)的上下文中获取 header.
WriteHeaderContext 将 header 写入到当前进程的上下文 && 调用外部系统(Grpc调用)的上下文.

# Constants

No description provided by the author

# Structs

Header 外部请求中的头部信息.