report

package
v1.1.14 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: Zlib Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	AppId string `json:"appid"`
	//有些数据可能加密,需要解密
	AppKey     string `json:"appKey"`
	AppVersion string `json:"appVersion"`
	//事先定义的事件Id,属于事件一级分类
	EventId string `json:"eventId"`
	//事先定义的事件Id,属于事件一级分类
	EventSubId string `json:"eventSubId"`
	//url或
	Path string `json:"path"`
	//标签
	Label string `json:"label"`
	//内容
	Content string `json:"content"`
	//渠道
	Channel string `json:"Channel"`
	//系统信息
	SystemInfo string `json:"systemInfo"`
	//国家
	Country string `json:"country,omitempty"`
	//时区
	Timezone string `json:"timezone,omitempty"`
	//浏览器
	Ua string `json:"ua"`
	//客户端ip
	ClientIp string `json:"clientIp"`
	//sdk版本
	SdkVersion string `json:"sdkVersion"`
	//结果
	Result string `json:"result,omitempty"`
	//编码,比如网页具体位置(网页精细化运营)
	BuildCode string `json:"buildCode"`
	//更多信息
	MoreInfo string `json:"moreInfo"`
	//属性值
	Property map[string]interface{} `json:"property,omitempty"`
	//用户,可以为0
	Uid int64 `json:"uid,omitempty"`
	//事件发生时间ms
	EventAt int64 `json:"eventAt"`
}

func (Data) String added in v0.1.2

func (r Data) String() string

Jump to

Keyboard shortcuts

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