userinfo

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: GPL-3.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 UserInfo

type UserInfo struct {
	UserID              string `json:"userId"`
	UserName            string `json:"userName"`
	UserProfileID       string `json:"userProfileId"`
	UserEmail           string `json:"userEmail"`
	IsBloggerUser       bool   `json:"isBloggerUser"`
	SignupTimeSec       int64  `json:"signupTimeSec"`
	IsMultiLoginEnabled bool   `json:"isMultiLoginEnabled"`
}

UserInfo response Output looks like:

{
    "userId": "1005869311",
    "userName": "hyperreal",
    "userProfileId": "1005869311",
    "userEmail": "serio.jeffrey@gmail.com",
    "isBloggerUser": false,
    "signupTimeSec": 1379693893,
    "isMultiLoginEnabled": false
}

func GetUserInfo

func GetUserInfo(rc *resty.Client) (userinfo *UserInfo, err error)

GetUserInfo --- Gets the user info

Jump to

Keyboard shortcuts

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