user

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetUserInfoRequest

type GetUserInfoRequest struct {
	model.BaseRequest
	AppID       string
	AccessToken string
}

func (GetUserInfoRequest) GetParams

func (r GetUserInfoRequest) GetParams() url.Values

func (GetUserInfoRequest) GetScope

func (r GetUserInfoRequest) GetScope() string

type GetUserInfoResponse

type GetUserInfoResponse struct {
	model.BaseResponse
	UserInfo *UserInfo `json:"user_info,omitempty"`
}

type GetUserPhoneRequest

type GetUserPhoneRequest struct {
	model.BaseRequest
	AppID       string
	AccessToken string
}

func (GetUserPhoneRequest) GetParams

func (r GetUserPhoneRequest) GetParams() url.Values

func (GetUserPhoneRequest) GetScope

func (r GetUserPhoneRequest) GetScope() string

type GetUserPhoneResponse

type GetUserPhoneResponse struct {
	model.BaseResponse
	EncryptedPhone string `json:"encrypted_phone,omitempty"`
}

type UserInfo

type UserInfo struct {
	Name    string `json:"name,omitempty"`
	Sex     string `json:"sex,omitempty"`
	Head    string `json:"head,omitempty"`
	BigHead string `json:"bigHead,omitempty"`
	City    string `json:"city,omitempty"`
	Fan     int64  `json:"fan,omitempty"`
	Follow  int64  `json:"follow,omitempty"`
}

Jump to

Keyboard shortcuts

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