Documentation ¶
Index ¶
- type AuthBody
- type BearerTokenClaims
- type ImageFileType
- type PostCreateBody
- type ReplyCreateBody
- type UserAuthBody
- type UserCommentCreateBody
- type UserCommentDeleteBody
- type UserCommentUpdateBody
- type UserPostInfo
- type UserReplyDeleteBody
- type UserReplyUpdateBody
- type UserUpdatePasswordBody
- type UserUpdateProfileBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BearerTokenClaims ¶
type ImageFileType ¶
type ImageFileType int
const ( IMAGE_FILE_TYPE_UNKNOWN ImageFileType = -1 IMAGE_FILE_TYPE_WEBP ImageFileType = iota IMAGE_FILE_TYPE_JPEG IMAGE_FILE_TYPE_PNG )
type PostCreateBody ¶
type ReplyCreateBody ¶
type UserAuthBody ¶
type UserCommentCreateBody ¶
type UserCommentDeleteBody ¶
type UserCommentDeleteBody struct {
CommentID *uint64 `json:"comment_id" form:"comment_id"`
}
type UserCommentUpdateBody ¶
type UserPostInfo ¶
type UserReplyDeleteBody ¶
type UserReplyDeleteBody struct {
ReplyID uint64 `json:"reply_id" form:"reply_id"`
}
type UserReplyUpdateBody ¶
type UserUpdatePasswordBody ¶
type UserUpdatePasswordBody struct { UserAuthBody NewPassword string `json:"new_password"` }
type UserUpdateProfileBody ¶
Click to show internal directories.
Click to hide internal directories.