Documentation ¶
Index ¶
- type CheckIfExistsReq
- type CheckIfExistsRes
- type File
- type MediaResponse
- type Otp
- type OtpCheckResponse
- type StandardResponse
- type TemplateCreateReq
- type TemplateDeleteReq
- type TemplateFindReq
- type TemplateFindResponse
- type TemplateGetReq
- type TemplateResponse
- type TemplateUpdateReq
- type UpdateSingleFieldReq
- type UploadPhotoRes
- type UserApiUpdateReq
- type UserCheckRes
- type UserCheckResponse
- type UserCreateReq
- type UserDeleteReq
- type UserFindReq
- type UserFindResponse
- type UserForgotPasswordVerifyReq
- type UserGetReq
- type UserLoginRequest
- type UserRegisterReq
- type UserResponse
- type UserUpdateReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckIfExistsReq ¶
type CheckIfExistsRes ¶
type CheckIfExistsRes struct {
Exists bool
}
type File ¶
type File struct {
File *multipart.FileHeader `form:"file" binding:"required"`
}
type MediaResponse ¶
type MediaResponse struct { ErrorCode int `json:"error_code"` ErrorMessage string `json:"error_message"` Body UploadPhotoRes `json:"body"` }
type OtpCheckResponse ¶
type StandardResponse ¶
type TemplateCreateReq ¶
type TemplateCreateReq struct {
TemplateName string `json:"template_name"`
}
type TemplateDeleteReq ¶
type TemplateDeleteReq struct {
Id string `json:"id"`
}
type TemplateFindReq ¶
type TemplateFindResponse ¶
type TemplateFindResponse struct { Templates []*TemplateResponse `json:"templates"` Count int `json:"count"` }
type TemplateGetReq ¶
type TemplateGetReq struct {
Id string `json:"id"`
}
type TemplateResponse ¶
type TemplateUpdateReq ¶
type UpdateSingleFieldReq ¶
type UploadPhotoRes ¶
type UploadPhotoRes struct {
URL string `json:"photo_url"`
}
type UserApiUpdateReq ¶
type UserApiUpdateReq struct {
UserName string `json:"user_name"`
}
type UserCheckRes ¶
type UserCheckRes struct {
Status string `json:"status"`
}
type UserCheckResponse ¶
type UserCheckResponse struct { ErrorCode int `json:"error_code"` ErrorMessage string `json:"error_message"` Body *UserCheckRes `json:"body"` }
type UserCreateReq ¶
type UserDeleteReq ¶
type UserDeleteReq struct {
Id string `json:"id"`
}
type UserFindReq ¶
type UserFindResponse ¶
type UserFindResponse struct { Users []*UserResponse `json:"users"` Count int `json:"count"` }
type UserGetReq ¶
type UserLoginRequest ¶
type UserRegisterReq ¶
type UserResponse ¶
type UserResponse struct { Id string `json:"id"` UserName string `json:"user_name"` Email string `json:"email"` Password string `json:"password"` AccessToken string `json:"access_token"` RefreshToken string `json:"refresh_token"` CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at"` }
type UserUpdateReq ¶
Click to show internal directories.
Click to hide internal directories.