Documentation ¶
Index ¶
- type AccJavaInfo
- type ArgExp
- type ArgMid
- type ArgMids
- type ArgMoral
- type ArgNames
- type ArgRelation
- type ArgRelations
- type ArgRichRelation
- type Card
- type Info
- type NameplateInfo
- type OfficialInfo
- type OldInfo
- type OldOfficial
- type Page
- type ParamMid
- type ParamMids
- type ParamModify
- type ParamMsg
- type ParamNames
- type PassportDetail
- type PassportProfile
- type PendantInfo
- type Privacy
- type Profile
- type ProfileStat
- type Relation
- type SearchMemberResult
- type VipInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccJavaInfo ¶
type AccJavaInfo struct { Mid int64 `json:"mid"` Scores int32 `json:"scores"` JoinTime int32 `json:"jointime"` Silence int32 `json:"silence"` EmailStatus int32 `json:"email_status"` TelStatus int32 `json:"tel_status"` Identification int32 `json:"identification"` Moral int32 `json:"moral"` Nameplate struct { Nid int `json:"nid"` Name string `json:"name"` Image string `json:"image"` ImageSmall string `json:"image_small"` Level string `json:"level"` Condition string `json:"condition"` } `json:"nameplate"` }
AccJavaInfo thin infomartion
type ArgExp ¶
type ArgExp struct { Mid int64 Exp float64 Operater string Operate string Reason string RealIP string }
ArgExp is.
type ArgMoral ¶
type ArgMoral struct { Mid int64 Moral float64 Oper string Reason string Remark string RealIP string }
ArgMoral is.
type ArgRelations ¶
ArgRelations is.
type ArgRichRelation ¶
ArgRichRelation is.
type NameplateInfo ¶
type NameplateInfo = v1.NameplateInfo
NameplateInfo is the type alias v1.NameplateInfo DEPRECATED: using v1.NameplateInfo
type OfficialInfo ¶
type OfficialInfo = v1.OfficialInfo
OfficialInfo is the type alias v1.OfficialInfo DEPRECATED: using v1.OfficialInfo
type OldInfo ¶
type OldInfo struct { Mid string `json:"mid"` Name string `json:"uname"` Sex string `json:"sex"` Sign string `json:"sign"` Avatar string `json:"avatar"` Rank string `json:"rank"` DisplayRank string `json:"DisplayRank"` LevelInfo mmodel.LevelInfo `json:"level_info"` Official OldOfficial `json:"official_verify"` Vip v1.VipInfo `json:"vip"` }
OldInfo old info.
type OldOfficial ¶
OldOfficial old official.
func CvtOfficial ¶
func CvtOfficial(o v1.OfficialInfo) OldOfficial
CvtOfficial is used to convert to old official.
type ParamMid ¶
type ParamMid struct {
Mid int64 `form:"mid" validate:"gt=0,required"`
}
ParamMid is.
type ParamMids ¶
type ParamMids struct {
Mids []int64 `form:"mids,split" validate:"gt=0,dive,gt=0"`
}
ParamMids is.
type ParamModify ¶
type ParamModify struct { Mid int64 `form:"mid" validate:"gt=0,required"` ModifiedAttr string `form:"modifiedAttr" validate:"gt=0,required"` }
ParamModify is.
type ParamNames ¶
type ParamNames struct {
Names []string `form:"names,split" validate:"gt=0,dive,gt=0"`
}
ParamNames is.
type PassportDetail ¶
type PassportDetail struct { Mid int64 `json:"mid"` Email string `json:"email"` Phone string `json:"telphone"` Spacesta int8 `json:"spacesta"` JoinTime int64 `json:"join_time"` IsTourist bool `json:"is_tourist"` }
PassportDetail detail.
type PassportProfile ¶
type PassportProfile struct { Mid int64 `json:"mid"` UName string `json:"uname"` UserID string `json:"user_id"` Telphone string `json:"telphone"` NickLock int `json:"nick_lock"` BindQQ bool `json:"bind_qq"` BindSina bool `json:"bind_sina"` SpaceSta int `json:"spacesta"` LoginTime xtime.Time `json:"login_time"` LoginIP string `json:"login_ip"` JoinIP string `json:"join_ip"` JoinTime xtime.Time `json:"join_time"` SafeQuestion int `json:"safe_question"` CountryCode int64 `json:"country_code"` }
PassportProfile .
type PendantInfo ¶
type PendantInfo = v1.PendantInfo
PendantInfo is the type alias v1.PendantInfo DEPRECATED: using v1.PendantInfo
type Privacy ¶
type Privacy struct { Realname string `json:"realname"` IdentityCard string `json:"identity_card"` IdentitySex string `json:"identity_sex"` Tel string `json:"tel"` RegIP string `json:"reg_ip"` RegTS int64 `json:"reg_ts"` HandIMG string `json:"hand_img"` }
Privacy .
type ProfileStat ¶
type ProfileStat struct { *v1.Profile LevelExp mmodel.LevelInfo `json:"level_exp"` Coins float64 `json:"coins"` Following int64 `json:"following"` Follower int64 `json:"follower"` }
ProfileStat profile with stat.
Click to show internal directories.
Click to hide internal directories.