Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FullTextSearchResponse ¶
type FullTextSearchResponse struct { Users []*PublicUser `json:"users"` Tweets []*Tweet `json:"tweets"` }
type GoogleLoginForm ¶
type LoginResponse ¶
type LoginResponse struct { AuthToken string `json:"auth_token"` RefreshToken string `json:"refresh_token"` User *PublicUser `json:"user"` }
type NewTweetContent ¶
type NewTweetContent struct {
Content string `json:"content" binding:"required"`
}
type NewUserForm ¶
type PublicUser ¶
type RefreshAuthTokenRequest ¶
type RefreshAuthTokenRequest struct {
RefreshToken string `json:"refresh_token" binding:"required"`
}
type RefreshAuthTokenResponse ¶
type RefreshAuthTokenResponse struct {
AuthToken string `json:"auth_token"`
}
type User ¶
type User struct { ID int64 TwitterToken sql.NullString FacebookToken sql.NullString GoogleToken sql.NullString Username string Password string Email string CreatedAt *time.Time LastLogin *time.Time Active bool Name string AvatarUrl sql.NullString FollowerCount int64 FolloweeCount int64 Following bool }
Click to show internal directories.
Click to hide internal directories.