Documentation
¶
Index ¶
Constants ¶
View Source
const ( // IsUp is up IsUp = 1 // NotUp not up NotUp = 0 )
Variables ¶
View Source
var ( // IdentifyEnum define IdentifyEnum = map[int]string{ 0: "已实名认证", 1: "根据国家实名制认证的相关要求,您需要换绑一个非170/171的手机号,才能继续进行操作。", 2: "根据国家实名制认证的相关要求,您需要绑定手机号,才能继续进行操作。", } )
Functions ¶
Types ¶
type Friend ¶
type Friend struct { Mid int64 `json:"mid"` Name string `json:"name"` Face string `json:"face"` Sign string `json:"sign"` Comment string `json:"comment"` ShouldFollow int8 `json:"should_follow"` }
Friend str
type IdentifyInfo ¶
IdentifyInfo str
type MyInfo ¶
type MyInfo struct { Mid int64 `json:"mid"` Name string `json:"uname"` Face string `json:"face"` Banned bool `json:"banned"` Level int `json:"level"` Activated bool `json:"activated"` Deftime time.Time `json:"deftime"` DeftimeEnd time.Time `json:"deftime_end"` DeftimeMsg string `json:"deftime_msg"` Commercial int `json:"commercial"` VideoRate uint `json:"video_rate,omitempty"` AudioRate uint `json:"audio_rate,omitempty"` IdentifyInfo *IdentifyInfo `json:"identify_check"` DmSubtitle bool `json:"subtitle"` //弹幕子业务之字幕协同创作 DymcLottery bool `json:"lottery"` //动态子业务之抽奖 UploadSize map[string]bool `json:"uploadsize"` // upload_size <= 8G }
MyInfo get user info for pre archive.
Click to show internal directories.
Click to hide internal directories.