Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginResponse ¶
type LoginResponse struct { Id uint64 `json:"id"` Username string `json:"username"` Icon string `json:"icon"` }
func (*LoginResponse) Marshal ¶
func (r *LoginResponse) Marshal(p *memberpb.MemberEntity)
type MemberResponse ¶
type MemberResponse struct { Id uint64 `json:"id"` MemberLevelId uint64 `json:"member_level_id"` Username string `json:"username"` Phone string `json:"phone"` Icon string `json:"icon"` Status int32 `json:"status"` Gender int32 `json:"gender"` Birthday string `json:"birthday"` City string `json:"city"` Job string `json:"job"` Growth int32 `json:"growth"` CreatedAt string `json:"created_at"` }
func NewMemberResponse ¶
func NewMemberResponse() *MemberResponse
func (*MemberResponse) Marshal ¶
func (r *MemberResponse) Marshal(p *memberpb.MemberEntity)
Click to show internal directories.
Click to hide internal directories.