package
0.0.0-20250220022732-e4c125a5ade9
Repository: https://github.com/quantumshiftx/golib.git
Documentation: pkg.go.dev

# Functions

GetBrowserFingerprintFromCtx 从上下文中获取浏览器指纹.
GetCurrencyCodeFromCtx 从上下文中获取currency_code.
GetDeviceIDFromCtx 从上下文中获取设备id.
GetDeviceTypeFromCtx 从上下文中获取设备类型.
GetDomainFromCtx 从上下文中获取域名.
GetIpFromCtx 从上下文中获取ip.
GetMetadata 上下文取值.
GetMetadataFromCtx 获取上下文数据.
GetRegionFromCtx 从上下文中获取区域.
GetRequestClientInfoFromCtx 从上下文中获取RequestClientInfo.
GetUidFromCtx 从上下文中获取uid.
GetUsernameFromCtx 从上下文中获取username.
WithMetadata 上下文数据.

# Constants

CtxBrowserFingerprint 浏览器指纹.
CtxCurrencyCode 币种code.
CtxDeviceID 设备id.
CtxDeviceType 设备类型.
CtxDomain 域名.
CtxIp ip.
CtxJWTUserId 用户id.
CtxJWTUsername 用户名.
CtxRegion 区域.
CtxRequestClientInfo 请求客户端信息.
DeviceIDKey 设备id.
DeviceTypeKey 设备类型.
RegionKey 地区.

# Structs

No description provided by the author