Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activity ¶
type Activity struct { Id string `json:"id"` Type string `json:"type"` Username string `json:"username"` UsernameF string `json:"usernamef"` PostId string `json:"postid"` Post Post `json:"post"` Comment Comment `json:"comment"` Body string `json:"body"` Image string `json:"image"` Date time.Time `json:"date"` }
type Credentials ¶
Credentials struct
type Post ¶
type Post struct { PostId string `json:"postid"` UserId string `json:"userid"` Verified bool `json:"verified"` Username string `json:"username"` Caption string `json:"caption"` Comments []Comment `json:"comments"` NumLikes int `json:"numlikes"` Likers []string `json:"likers"` Url string `json:"url"` Thumbnail string `json:"thumbnail"` DateAdded time.Time `json:"dateAdded"` }
type ProtectedUser ¶
type ProtectedUser struct { Username string `json:"username"` DisplayName string `json:"displayName"` DisplayPicture string `json:"displayPicture"` Verified bool `json:"verified"` Relations Relationships `json:"relations"` Posts []Post `json:"posts"` NumPosts int `json:"numPosts"` Activity []Activity `json:"activity"` }
type Relationships ¶
type Relationships struct { Followers []string `json:"followers"` Following []string `json:"following"` NumFollowers int `json:"numfollowers"` NumFollowing int `json:"numfollowing"` LikedPosts []string `json:"likedposts"` }
Relationships struct
type User ¶
type User struct { UserId string `json:"userId"` UserToken GoogleToken `json:"userToken"` DisplayName string `json:"displayName"` DisplayPicture string `json:"displayPicture"` Username string `json:"username"` Email string `json:"email"` Verified bool `json:"verified"` Relations Relationships `json:"relations"` Posts []Post `json:"posts"` Activity []Activity `json:"activity"` DateJoined time.Time `json:"dateJoined"` }
User struct
Click to show internal directories.
Click to hide internal directories.