# Functions
No description provided by the author
GetTraceId returns the trace ID from the given context.
GetTraceIdOrEmpty returns the trace ID from the given context or an empty string if the trace ID is not found.
HeaderFromContext returns header info from incoming context.
NewTraceId returns a copy of parent context in which a new trace ID is created and attached.
SetTraceIdHeader add trace id to HTTTP Header X-Request-Id.
TokenFromContext returns token from incoming context.
WithTraceId returns a copy of parent context in which the given trace ID is attached.
# Constants
cookie.
JINSESSIONID,authn登陆成功后会set token到cookie的JINSESSIONID,authn后续接口读取JINSESSIONID获取token.
janus-gateway client端请求(包含windowns、mac、Android、ios4个客户端).
ldap-gateway requests.
open-gateway requests.
janus-gateway web端请求.
Service to service token, used by grpc service to authenticate each other.
JINSESSIONID with =.
个人账户id.
客户端版本号, 如:3.4.0.
企业id.
客户端资源号。如:mga、mip、win、mac.
Open-plat required client_id.
Open-plat required 企业code.
设备唯一id.
唯一请求id,跟踪日志使用.
请求来源。web,client.
用户id.