Documentation ¶
Overview ¶
Code generated by goctl. DO NOT EDIT.
Index ¶
- type Admin
- type ApplySignedUrlReq
- type ApplySignedUrlResp
- type Cat
- type CatPreview
- type Comment
- type DeleteCatReq
- type DeleteCatResp
- type DeleteMomentReq
- type DeleteMomentResp
- type DeleteNewsReq
- type DeleteNewsResp
- type DeleteNoticeReq
- type DeleteNoticeResp
- type DeletePostReq
- type DeletePostResp
- type DoLikeReq
- type DoLikeResp
- type GetAdminsReq
- type GetAdminsResp
- type GetCatDetailReq
- type GetCatDetailResp
- type GetCatPreviewsReq
- type GetCatPreviewsResp
- type GetCommentsReq
- type GetCommentsResp
- type GetLikedCountReq
- type GetLikedCountResp
- type GetMomentDetailReq
- type GetMomentDetailResp
- type GetMomentPreviewsReq
- type GetMomentPreviewsResp
- type GetNewsReq
- type GetNewsResp
- type GetNoticesReq
- type GetNoticesResp
- type GetPostDetailReq
- type GetPostDetailResp
- type GetPostPreviewsReq
- type GetPostPreviewsResp
- type GetUserInfoReq
- type GetUserInfoResp
- type GetUserLikedReq
- type GetUserLikedResp
- type Moment
- type NewCatReq
- type NewCatResp
- type NewCommentReq
- type NewCommentResp
- type NewMomentReq
- type NewMomentResp
- type NewNewsReq
- type NewNewsResp
- type NewNoticeReq
- type NewNoticeResp
- type NewPostReq
- type NewPostResp
- type News
- type Notice
- type Post
- type SearchCatReq
- type SearchCatResp
- type SearchMomentReq
- type SearchMomentResp
- type SearchPostReq
- type SearchPostResp
- type SendVerifyCodeReq
- type SendVerifyCodeResp
- type SetPasswordReq
- type SetPasswordResp
- type SignInReq
- type SignInResp
- type Status
- type UpdateUserInfoReq
- type UpdateUserInfoResp
- type User
- type UserPreview
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplySignedUrlReq ¶ added in v1.1.11
type ApplySignedUrlResp ¶ added in v1.1.11
type Cat ¶
type Cat struct { Id string `json:"id"` CreateAt int64 `json:"createAt"` Age string `json:"age"` CommunityId string `json:"communityId"` Color string `json:"color"` Details string `json:"details"` Name string `json:"name"` Popularity int64 `json:"popularity"` Sex string `json:"sex"` Status int32 `json:"status"` Area string `json:"area"` IsSnipped bool `json:"isSnipped"` IsSterilized bool `json:"isSterilized"` Avatars []string `json:"avatars"` }
type CatPreview ¶
type DeleteCatReq ¶
type DeleteCatReq struct {
CatId string `json:"catId"`
}
type DeleteCatResp ¶
type DeleteCatResp struct {
Status
}
type DeleteMomentReq ¶
type DeleteMomentReq struct {
MomentId string `json:"momentId"`
}
type DeleteMomentResp ¶
type DeleteMomentResp struct {
Status
}
type DeleteNewsReq ¶
type DeleteNewsReq struct {
Id string `json:"id"`
}
type DeleteNewsResp ¶
type DeleteNewsResp struct {
Status
}
type DeleteNoticeReq ¶
type DeleteNoticeReq struct {
Id string `json:"id"`
}
type DeleteNoticeResp ¶
type DeleteNoticeResp struct {
Status
}
type DeletePostReq ¶
type DeletePostReq struct {
Id string `json:"id"`
}
type DeletePostResp ¶
type DeletePostResp struct {
Status
}
type DoLikeResp ¶
type DoLikeResp struct {
Status
}
type GetAdminsReq ¶
type GetAdminsReq struct {
CommunityId string `form:"communityId"`
}
type GetAdminsResp ¶
type GetCatDetailReq ¶
type GetCatDetailReq struct {
CatId string `form:"catId"`
}
type GetCatDetailResp ¶
type GetCatPreviewsReq ¶
type GetCatPreviewsResp ¶
type GetCatPreviewsResp struct { Status Cats []CatPreview `json:"cats"` Total int64 `json:"total"` }
type GetCommentsReq ¶
type GetCommentsResp ¶
type GetLikedCountReq ¶
type GetLikedCountResp ¶
type GetMomentDetailReq ¶
type GetMomentDetailReq struct {
MomentId string `form:"momentId"`
}
type GetMomentDetailResp ¶
type GetMomentPreviewsReq ¶
type GetMomentPreviewsResp ¶
type GetNewsReq ¶
type GetNewsReq struct {
CommunityId string `form:"communityId"`
}
type GetNewsResp ¶
type GetNoticesReq ¶
type GetNoticesReq struct {
CommunityId string `form:"communityId"`
}
type GetNoticesResp ¶
type GetPostDetailReq ¶
type GetPostDetailReq struct {
PostId string `form:"postId"`
}
type GetPostDetailResp ¶
type GetPostPreviewsReq ¶
type GetPostPreviewsReq struct {
Page int64 `form:"page"`
}
type GetPostPreviewsResp ¶
type GetUserInfoReq ¶ added in v1.1.1
type GetUserInfoReq struct { }
type GetUserInfoResp ¶ added in v1.1.1
type GetUserInfoResp struct { Status User UserPreview `json:"user"` }
type GetUserLikedReq ¶
type GetUserLikedResp ¶
type NewCatReq ¶
type NewCatReq struct { Id string `json:"id,optional"` Age string `json:"age"` CommunityId string `json:"communityId"` Color string `json:"color"` Details string `json:"details"` Name string `json:"name"` Sex string `json:"sex"` Area string `json:"area"` IsSnipped bool `json:"isSnipped"` IsSterilized bool `json:"isSterilized"` Avatars []string `json:"avatars"` }
type NewCatResp ¶
type NewCommentReq ¶
type NewCommentResp ¶
type NewCommentResp struct {
Status
}
type NewMomentReq ¶
type NewMomentResp ¶
type NewNewsReq ¶
type NewNewsResp ¶
type NewNoticeReq ¶
type NewNoticeResp ¶
type NewPostReq ¶
type NewPostResp ¶
type Post ¶
type Post struct { Id string `json:"id"` CreateAt int64 `json:"createAt"` IsAnonymous bool `json:"isAnonymous"` Title string `json:"title"` Text string `json:"text"` CoverUrl string `json:"coverUrl"` Tags []string `json:"tags"` Likes int64 `json:"likes"` Comments int64 `json:"comments"` User UserPreview `json:"user"` }
type SearchCatReq ¶ added in v1.1.5
type SearchCatResp ¶ added in v1.1.5
type SearchCatResp struct { Status Cats []CatPreview `json:"cats"` Total int64 `json:"total"` }
type SearchMomentReq ¶ added in v1.1.5
type SearchMomentResp ¶ added in v1.1.5
type SearchPostReq ¶ added in v1.1.5
type SearchPostResp ¶ added in v1.1.5
type SendVerifyCodeReq ¶
type SendVerifyCodeResp ¶
type SendVerifyCodeResp struct {
Status
}
type SetPasswordReq ¶
type SetPasswordReq struct {
Password string `json:"password"`
}
type SetPasswordResp ¶
type SetPasswordResp struct {
Status
}
type SignInResp ¶
type UpdateUserInfoReq ¶ added in v1.1.1
type UpdateUserInfoResp ¶ added in v1.1.1
type UpdateUserInfoResp struct {
Status
}
type UserPreview ¶
Click to show internal directories.
Click to hide internal directories.