app

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 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 {
	Source
	Terminal string `json:"terminal"`
	Version  string `json:"version"` //应用程序版本
	Channel  string `json:"channel"` //渠道(小米、华为、360、VIVO、OPPO、APPLE)
	Extinfo  string `json:"extinfo"` //base64 json
}

*

  • 应用app信息

func (Info) HasExtInfo

func (i Info) HasExtInfo() bool

type Source added in v0.2.0

type Source struct {
	AppId  string `json:"appid"`
	Source string `json:"source"` //来自己client ,`如果 server,表示具体服务名
}

type System

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

* 用户系统

Jump to

Keyboard shortcuts

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