Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientContext ¶
type ClientContext struct { AppName string AppVersion string AppVersionCode string Manufacturer string Model string Platform string PlatformVersion string SdkVersion string UserAgent string }
func GetClientContext ¶
func GetClientContext(ctx context.Context) (ClientContext, error)
type ContextKey ¶
type ContextKey string
const ( CONTEXT_CLIENT_APPNAME ContextKey = "appname" CONTEXT_CLIENT_APPVERSION ContextKey = "appversion" CONTEXT_CLIENT_APPVERSIONCODE ContextKey = "appversioncode" CONTEXT_CLIENT_MANUFACTURER ContextKey = "manufacturer" CONTEXT_CLIENT_MODEL ContextKey = "model" CONTEXT_CLIENT_PLATFORM ContextKey = "platform" CONTEXT_CLIENT_PLATFORMVERSION ContextKey = "platformversion" CONTEXT_CLIENT_SDKVERSION ContextKey = "sdkversion" )
func (ContextKey) String ¶
func (key ContextKey) String() string
Click to show internal directories.
Click to hide internal directories.