Documentation ¶
Index ¶
- type CategoryDuplicateResponse
- type CategoryExistsResponse
- type CategoryNotFoundResponse
- type CategoryResponse
- type CommentNotFoundResponse
- type CommentResponse
- type CreateProductImagesResponse
- type DeleteRecordResponse
- type InterServerErrorResponse
- type LoginOKResponse
- type OtpExpiredResponse
- type OtpIncorrectResponse
- type OwnerCantLikeCommentResponse
- type PermissionAdminAllowedResponse
- type PermissionNotAllowedResponse
- type ProductExistsResponse
- type ProductNOTExistsResponse
- type ProductResponse
- type RefreshTokenResponse
- type RegisterOKResponse
- type SendOtpOkResponse
- type Success
- type Token
- type UserNotFoundResponse
- type UserResponse
- type VerifyOTPResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryDuplicateResponse ¶
type CategoryDuplicateResponse struct {
Response string `example:"category with this title already exists"`
}
type CategoryExistsResponse ¶
type CategoryExistsResponse struct {
Response string `example:"this category already exists"`
}
type CategoryNotFoundResponse ¶
type CategoryNotFoundResponse struct {
Response string `example:"category not found"`
}
type CategoryResponse ¶
type CommentNotFoundResponse ¶
type CommentNotFoundResponse struct {
Response string `example:"comment not found"`
}
type CommentResponse ¶
type CreateProductImagesResponse ¶
type CreateProductImagesResponse struct {
Response string `example:"Created Successfully"`
}
type DeleteRecordResponse ¶
type DeleteRecordResponse struct{}
type InterServerErrorResponse ¶
type InterServerErrorResponse struct {
Response string `example:"Internal server error"`
}
type LoginOKResponse ¶
type LoginOKResponse struct {
Response string `example:"Success, otp was sent"`
}
type OtpExpiredResponse ¶
type OtpExpiredResponse struct {
Response string `example:"otp expired"`
}
type OtpIncorrectResponse ¶
type OtpIncorrectResponse struct {
Response string `example:"code is incorrect"`
}
type OwnerCantLikeCommentResponse ¶
type OwnerCantLikeCommentResponse struct {
Response string `example:"owner can't like"`
}
type PermissionAdminAllowedResponse ¶
type PermissionAdminAllowedResponse struct {
Response string `example:"permission not allowed, just admin user can perform this action"`
}
type PermissionNotAllowedResponse ¶
type PermissionNotAllowedResponse struct {
Response string `example:"permission not allowed, you can not perform this action"`
}
type ProductExistsResponse ¶
type ProductExistsResponse struct {
Response string `example:"this product already exists"`
}
type ProductNOTExistsResponse ¶
type ProductNOTExistsResponse struct {
Response string `example:"product not found"`
}
type ProductResponse ¶
type RefreshTokenResponse ¶
type RefreshTokenResponse struct {
Response string `` /* 166-byte string literal not displayed */
}
type RegisterOKResponse ¶
type RegisterOKResponse struct {
Response string `example:"Success, otp was sent"`
}
type SendOtpOkResponse ¶
type SendOtpOkResponse struct {
Response string `example:"otp was sent"`
}
type UserNotFoundResponse ¶
type UserNotFoundResponse struct {
Response string `example:"user not found"`
}
type UserResponse ¶
type VerifyOTPResponse ¶
type VerifyOTPResponse struct {
Response Token
}
Click to show internal directories.
Click to hide internal directories.