Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthToken string
Functions ¶
Types ¶
type UserMeResponse ¶
type UserMeResponse struct {
Success bool `json:"success"`
Error interface{} `json:"error"`
Data struct {
ID int `json:"id"`
Language string `json:"language"`
GivenName string `json:"given_name"`
FamilyName interface{} `json:"family_name"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
InvitedByID int `json:"invited_by_id"`
InvitedAt time.Time `json:"invited_at"`
InvitesRemaining int `json:"invites_remaining"`
InviteRewardClaimed bool `json:"invite_reward_claimed"`
IsEmailEnabled bool `json:"is_email_enabled"`
PublishID int `json:"publish_id"`
Country interface{} `json:"country"`
YoutubeChannels []struct {
YtChannelName string `json:"yt_channel_name"`
LbryChannelName string `json:"lbry_channel_name"`
ChannelClaimID string `json:"channel_claim_id"`
SyncStatus string `json:"sync_status"`
StatusToken string `json:"status_token"`
Transferable bool `json:"transferable"`
TransferState string `json:"transfer_state"`
PublishToAddress interface{} `json:"publish_to_address"`
PublicKey string `json:"public_key"`
} `json:"youtube_channels"`
PrimaryEmail string `json:"primary_email"`
PasswordSet bool `json:"password_set"`
LatestClaimedEmail interface{} `json:"latest_claimed_email"`
HasVerifiedEmail bool `json:"has_verified_email"`
IsIdentityVerified bool `json:"is_identity_verified"`
IsRewardApproved bool `json:"is_reward_approved"`
Groups []interface{} `json:"groups"`
DeviceTypes []string `json:"device_types"`
} `json:"data"`
}
func GetUserInfo ¶
func GetUserInfo() UserMeResponse
Click to show internal directories.
Click to hide internal directories.