model

package
v0.0.0-...-9c20d30 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profile

type Profile struct {
	OpenID    string    `json:"openId"`
	UnionID   string    `json:"unionId"`
	NickName  string    `json:"nickName"`
	Gender    int       `json:"gender"`
	City      string    `json:"city"`
	Province  string    `json:"province"`
	Country   string    `json:"country"`
	AvatarURL string    `json:"avatarUrl"`
	Language  string    `json:"language"`
	Watermark Watermark `json:"watermark"`
}

Profile represents weixin user profile

type Run

type Run struct {
	Data []RunRecord `json:"stepInfoList"`
}

Run represents weixin run data

type RunRecord

type RunRecord struct {
	Timestamp uint `json:"timestamp"`
	Steps     uint `json:"step"`
}

RunRecord represents weixin run data

type Share

type Share struct {
	OpenGId   string    `json:"openGId"`
	Watermark Watermark `json:"watermark"`
}

Share represents weixin share ticket

type Watermark

type Watermark struct {
	Timestamp int64  `json:"timestamp"`
	AppID     string `json:"appid"`
}

Watermark encrypted watermark

Jump to

Keyboard shortcuts

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