Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddPostInput ¶
type AddPostInput struct {
Content string `json:"content"`
}
type AuthOutput ¶
type DeletePostInput ¶
type DeletePostInput struct {
PostID string `json:"postId"`
}
type EditPostInput ¶
type GetPostInput ¶
type GetPostInput struct {
PostID string `json:"postId"`
}
type GetPostsByUsernameInput ¶
type GetPostsByUsernameInput struct {
Username string `json:"username"`
}
type GetUserByUsernameInput ¶
type GetUserByUsernameInput struct {
Username string `json:"username"`
}
type LoginInput ¶
type RegisterInput ¶
type User ¶
type User struct { ID string `json:"id"` Username string `json:"username"` Email string `json:"email"` Fullname *string `json:"fullname"` Bio *string `json:"bio"` Admin bool `json:"admin"` CreatedAt *time.Time `json:"createdAt"` UpdatedAt *time.Time `json:"updatedAt"` DeletedAt *time.Time `json:"deletedAt"` }
Click to show internal directories.
Click to hide internal directories.