Documentation ¶
Index ¶
Constants ¶
View Source
const QuotaUri = "/api/quota"
View Source
const UserInfoUri = "/rest/2.0/xpan/nas?method=uinfo"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuotaResponse ¶
type UserInfoResponse ¶
type UserInfoResponse struct { BaiduName string `json:"baidu_name"` NetdiskName string `json:"netdisk_name"` AvatarUrl string `json:"avatar_url"` VipType int `json:"vip_type"` Uk int `json:"uk"` //uk字段对应auth.UserInfo方法返回的user_id ErrorCode int `json:"errno"` ErrorMsg string `json:"errmsg"` RequestID int RequestIDStr string `json:"request_id"` //用户信息接口返回的request_id为string类型 }
Click to show internal directories.
Click to hide internal directories.