app

package
v0.5.24 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: Zlib Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtInfo

type ExtInfo map[string]interface{}

func (ExtInfo) Decode

func (e ExtInfo) Decode(info string) error

func (ExtInfo) Encode

func (e ExtInfo) Encode() string

type Info

type Info struct {
	AppId    string `json:"appId"`
	Source   string `json:"source"` //来自己client ,`如果 server,表示具体服务名
	Terminal string `json:"terminal"`
	Version  string `json:"version"` //应用程序版本
	Channel  string `json:"channel"` //渠道(小米、华为、360、VIVO、OPPO、APPLE)
	ExtInfo  string `json:"extInfo"` //base64 json
}

Info 应用app信息

func (Info) HasExtInfo

func (i Info) HasExtInfo() bool

type System

type System struct {
	DeviceId string `json:"deviceId"`
	SysVer   string `json:"sysVersion"`
	Model    string `json:"model"`
	Wifi     string `json:"wifi"`
}

System 用户系统

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL