Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProfileResponse ¶
NewProfileResponse new a *pb.Profile form profile entity
Types ¶
type Profile ¶
type Profile struct { ID uint64 `json:"id"` OpenIds map[string]string `json:"open_ids"` Name string `json:"name"` Nickname string `json:"nickname"` Email string `json:"email"` Token string `json:"token"` AccessToken string `json:"access_token"` RefreshToken string `json:"refresh_token"` PictureURL string `json:"picture_url"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
Profile declare a user information
Click to show internal directories.
Click to hide internal directories.