Documentation ¶
Index ¶
- type AqiParam
- type AqiResponse
- type CommunityDataResponse
- type CommunityDetails
- type CommunityRequest
- type Details
- type GoogleResAqi
- type LoginRequest
- type LoginResponse
- type Member
- type MemberRequest
- type PostResponse
- type Response
- type ServiceResponse
- type UserCreateRequest
- type UserCreateResponse
- type UserProfileResponse
- type UserTokenData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AqiResponse ¶
type CommunityDataResponse ¶
type CommunityDetails ¶
type CommunityDetails struct { Detail Details `json:"detail"` Member []UserProfileResponse `json:"members"` }
type CommunityRequest ¶
type CommunityRequest struct { Name string `form:"name"` Description string `form:"description"` ProfilePicture *multipart.FileHeader `form:"profile_picture" binding:"required"` CoverPicture *multipart.FileHeader `form:"cover_picture" binding:"required"` Price uint64 `form:"price"` }
type GoogleResAqi ¶
type LoginRequest ¶
type LoginResponse ¶
type MemberRequest ¶
type MemberRequest struct {
CommunityID string `json:"community_id" binding:"required"`
}
type PostResponse ¶
type ServiceResponse ¶
type UserCreateRequest ¶
type UserCreateResponse ¶
type UserCreateResponse struct {
ID string `json:"id"`
}
type UserProfileResponse ¶
type UserTokenData ¶
Click to show internal directories.
Click to hide internal directories.