vod

package
v0.0.0-...-59ebc2b Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	RandomWordTime         int64       `json:"randomWordTime"`
	TrialDays              int64       `json:"trialDays"`
	TokenTime              interface{} `json:"tokenTime"`
	RandomWord             string      `json:"randomWord"`
	Source                 int64       `json:"source"`
	GenerateTime           int64       `json:"generateTime"`
	Type                   int64       `json:"type"`
	Trial                  int64       `json:"trial"`
	LastLoginIP            string      `json:"lastLoginIp"`
	ExpiresIn              interface{} `json:"expiresIn"`
	TrialDeleteExpiredDate int64       `json:"trialDeleteExpiredDate"`
	Contact                string      `json:"contact"`
	Cellphone              string      `json:"cellphone"`
	Company                string      `json:"company"`
	ID                     int64       `json:"id"`
	ActivateStatus         int64       `json:"activateStatus"`
	Qq                     string      `json:"qq"`
	RandomWordUsedCount    int64       `json:"randomWordUsedCount"`
	TrialTimes             int64       `json:"trialTimes"`
	Abbreviation           string      `json:"abbreviation"`
	ParentID               interface{} `json:"parentId"`
	AccessSecret           string      `json:"accessSecret"`
	Token                  string      `json:"token"`
	LastLoginTime          int64       `json:"lastLoginTime"`
	AccessKey              string      `json:"accessKey"`
	DomainPrefix           string      `json:"domainPrefix"`
	Account                string      `json:"account"`
	RefreshToken           string      `json:"refreshToken"`
}

User 用户信息

func UnmarshalUser

func UnmarshalUser(data []byte) (User, error)

UnmarshalUser data to user

func (*User) Marshal

func (r *User) Marshal() ([]byte, error)

Marshal marshal

Jump to

Keyboard shortcuts

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