Documentation ¶
Overview ¶
Code generated by goctl. DO NOT EDIT.
Index ¶
- type Admin
- type ApplyInfo
- type ApplySignedUrlAsCommunityReq
- type ApplySignedUrlAsCommunityResp
- type ApplySignedUrlReq
- type ApplySignedUrlResp
- type Cat
- type CatPreview
- type Comment
- type Community
- type CreateApplyReq
- type CreateApplyResp
- type CreateImageElement
- type CreateImageReq
- type CreateImageResp
- type DeleteAdminReq
- type DeleteAdminResp
- type DeleteCatReq
- type DeleteCatResp
- type DeleteCommentReq
- type DeleteCommentResp
- type DeleteCommunityReq
- type DeleteCommunityResp
- type DeleteImageReq
- type DeleteImageResp
- 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 GetImageByCatReq
- type GetImageByCatResp
- type GetLikedCountReq
- type GetLikedCountResp
- type GetLikedUsersReq
- type GetLikedUsersResp
- 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 GetUserLikesReq
- type GetUserLikesResp
- type GetUserRolesReq
- type GetUserRolesResp
- type HandleApplyReq
- type HandleApplyResp
- type Image
- type Like
- type ListApplyReq
- type ListApplyResp
- type ListCommunityReq
- type ListCommunityResp
- type Moment
- type NewAdminReq
- type NewAdminResp
- type NewCatReq
- type NewCatResp
- type NewCommentReq
- type NewCommentResp
- type NewCommunityReq
- type NewCommunityResp
- type NewMomentReq
- type NewMomentResp
- type NewNewsReq
- type NewNewsResp
- type NewNoticeReq
- type NewNoticeResp
- type NewPostReq
- type NewPostResp
- type News
- type Notice
- type Post
- type RetrieveUserPreviewReq
- type RetrieveUserPreviewResp
- type Role
- type SearchCatReq
- type SearchCatResp
- type SearchMomentReq
- type SearchMomentResp
- type SearchOptions
- type SearchUserForAdminReq
- type SearchUserForAdminResp
- type SearchUserReq
- type SearchUserResp
- type SendVerifyCodeReq
- type SendVerifyCodeResp
- type SetOfficialReq
- type SetOfficialResp
- type SetPasswordReq
- type SetPasswordResp
- type SignInReq
- type SignInResp
- type Status
- type UpdateCommunityAdminReq
- type UpdateCommunityAdminResp
- type UpdateSuperAdminReq
- type UpdateSuperAdminResp
- type UpdateUserInfoReq
- type UpdateUserInfoResp
- type User
- type UserPreview
- type UserPreviewWithRole
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyInfo ¶ added in v1.6.4
type ApplyInfo struct { UserPreview ApplyId string `json:"applyId"` }
type ApplySignedUrlAsCommunityReq ¶ added in v1.3.4
type ApplySignedUrlAsCommunityResp ¶ added in v1.3.4
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 CreateApplyReq ¶ added in v1.6.4
type CreateApplyReq struct {
CommunityId string `json:"communityId"`
}
type CreateApplyResp ¶ added in v1.6.4
type CreateApplyResp struct {
Status
}
type CreateImageElement ¶ added in v1.4.2
type CreateImageReq ¶ added in v1.4.0
type CreateImageReq struct {
Images []CreateImageElement `json:"images"`
}
type CreateImageResp ¶ added in v1.4.0
type DeleteAdminReq ¶ added in v1.3.0
type DeleteAdminReq struct {
Id string `json:"id"`
}
type DeleteAdminResp ¶ added in v1.3.0
type DeleteAdminResp struct {
Status
}
type DeleteCatReq ¶
type DeleteCatReq struct {
CatId string `json:"catId"`
}
type DeleteCatResp ¶
type DeleteCatResp struct {
Status
}
type DeleteCommentReq ¶ added in v1.5.2
type DeleteCommentReq struct {
CommentId string `json:"commentId"`
}
type DeleteCommentResp ¶ added in v1.5.2
type DeleteCommentResp struct {
Status
}
type DeleteCommunityReq ¶ added in v1.3.0
type DeleteCommunityReq struct {
Id string `json:"id"`
}
type DeleteCommunityResp ¶ added in v1.3.0
type DeleteCommunityResp struct {
Status
}
type DeleteImageReq ¶ added in v1.4.0
type DeleteImageReq struct {
Id string `json:"id"`
}
type DeleteImageResp ¶ added in v1.4.0
type DeleteImageResp 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 GetImageByCatReq ¶ added in v1.4.0
type GetImageByCatResp ¶ added in v1.4.0
type GetLikedCountReq ¶
type GetLikedCountResp ¶
type GetLikedUsersReq ¶ added in v1.6.0
type GetLikedUsersResp ¶ added in v1.6.0
type GetLikedUsersResp struct { Status Users []UserPreview `json:"users"` }
type GetMomentDetailReq ¶
type GetMomentDetailReq struct {
MomentId string `form:"momentId"`
}
type GetMomentDetailResp ¶
type GetMomentPreviewsReq ¶
type GetMomentPreviewsReq struct { CommunityId *string `form:"communityId,optional"` IsParent bool `form:"isParent,default=false"` OnlyUserId *string `form:"onlyUserId,optional"` Page int64 `form:"page"` Limit *int64 `form:"limit,optional"` LastToken *string `form:"lastToken,optional"` Backward *bool `form:"backward,optional"` }
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 { Limit *int64 `json:"limit,optional"` Offset *int64 `json:"offset,optional"` LastToken *string `json:"lastToken,optional"` Backward *bool `json:"backward,optional"` OnlyOfficial *bool `json:"onlyOfficial,optional"` OnlyUserId *string `json:"onlyUserId,optional"` SearchOptions *SearchOptions `json:"searchOptions,optional"` }
type GetPostPreviewsResp ¶
type GetUserInfoReq ¶ added in v1.1.1
type GetUserInfoReq struct {
UserId *string `form:"userId,optional"`
}
type GetUserInfoResp ¶ added in v1.1.1
type GetUserLikedReq ¶
type GetUserLikedResp ¶
type GetUserLikesReq ¶ added in v1.6.0
type GetUserLikesResp ¶ added in v1.6.0
type GetUserRolesReq ¶ added in v1.3.5
type GetUserRolesReq struct { }
type GetUserRolesResp ¶ added in v1.3.5
type HandleApplyReq ¶ added in v1.6.4
type HandleApplyResp ¶ added in v1.6.4
type HandleApplyResp struct {
Status
}
type ListApplyReq ¶ added in v1.6.4
type ListApplyReq struct {
CommunityId string `json:"communityId"`
}
type ListApplyResp ¶ added in v1.6.4
type ListCommunityReq ¶ added in v1.3.0
type ListCommunityReq struct {
ParentId string `form:"parentId,optional"`
}
type ListCommunityResp ¶ added in v1.3.0
type NewAdminReq ¶ added in v1.3.0
type NewAdminResp ¶ added in v1.3.0
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 NewCommunityReq ¶ added in v1.3.0
type NewCommunityResp ¶ added in v1.3.0
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"` 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"` IsOfficial bool `json:"isOfficial"` }
type RetrieveUserPreviewReq ¶ added in v1.6.3
type RetrieveUserPreviewResp ¶ added in v1.6.3
type RetrieveUserPreviewResp struct { Users []UserPreview `json:"users"` Status }
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 SearchMomentReq struct { CommunityId *string `form:"communityId,optional"` IsParent bool `form:"isParent,default=false"` OnlyUserId *string `form:"onlyUserId,optional"` Keyword string `form:"keyword,optional"` Page int64 `form:"page"` Limit *int64 `form:"limit,optional"` LastToken *string `form:"lastToken,optional"` Backward *bool `form:"backward,optional"` }
type SearchMomentResp ¶ added in v1.1.5
type SearchOptions ¶ added in v1.5.0
type SearchUserForAdminReq ¶ added in v1.4.5
type SearchUserForAdminResp ¶ added in v1.4.5
type SearchUserForAdminResp struct { Status Users []UserPreviewWithRole `json:"users"` Total int64 `json:"total"` Token string `json:"token"` }
type SearchUserReq ¶ added in v1.4.5
type SearchUserResp ¶ added in v1.4.5
type SearchUserResp struct { Status Users []UserPreview `json:"users"` Total int64 `json:"total"` Token string `json:"token"` }
type SendVerifyCodeReq ¶
type SendVerifyCodeResp ¶
type SendVerifyCodeResp struct {
Status
}
type SetOfficialReq ¶ added in v1.5.0
type SetOfficialResp ¶ added in v1.5.0
type SetOfficialResp struct {
Status
}
type SetPasswordReq ¶
type SetPasswordReq struct {
Password string `json:"password"`
}
type SetPasswordResp ¶
type SetPasswordResp struct {
Status
}
type SignInResp ¶
type UpdateCommunityAdminReq ¶ added in v1.3.5
type UpdateCommunityAdminResp ¶ added in v1.3.5
type UpdateCommunityAdminResp struct {
Status
}
type UpdateSuperAdminReq ¶ added in v1.3.5
type UpdateSuperAdminResp ¶ added in v1.3.5
type UpdateSuperAdminResp struct {
Status
}
type UpdateUserInfoReq ¶ added in v1.1.1
type UpdateUserInfoResp ¶ added in v1.1.1
type UpdateUserInfoResp struct {
Status
}
type UserPreview ¶
type UserPreviewWithRole ¶ added in v1.5.3
type UserPreviewWithRole struct { UserPreview Roles []Role `json:"roles"` }
Click to show internal directories.
Click to hide internal directories.