Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserRequest ¶ added in v0.0.3
type CreateUserRequest struct { FullName string `json:"fullname"` PhoneNumber string `json:"phone_number"` Email string `json:"email"` Password string `json:"password"` }
func (CreateUserRequest) Validate ¶ added in v0.0.3
func (cup CreateUserRequest) Validate() error
type CreateUserResponse ¶ added in v0.0.3
type UpdateUser ¶ added in v0.0.8
type UpdateUser struct { Fullname string `json:"fullname"` PhoneNumber string `json:"phone_number"` UserType string `json:"user_type"` }
func (UpdateUser) Validate ¶ added in v0.0.8
func (cup UpdateUser) Validate() error
type UpdateUserRequest ¶ added in v0.0.3
type UpdateUserRequest struct { UserID int64 UpdateUser }
type UpdateUserStatus ¶ added in v0.0.8
type UpdateUserStatus struct {
Status string `json:"status"`
}
func (UpdateUserStatus) Validate ¶ added in v0.0.8
func (ussp UpdateUserStatus) Validate() error
type UpdateUserStatusRequest ¶ added in v0.0.3
type UpdateUserStatusRequest struct { UserID int64 UpdateUserStatus }
type UserDetailResponse ¶ added in v0.0.3
type UserLoginRequest ¶ added in v0.0.3
func (UserLoginRequest) Validate ¶ added in v0.0.3
func (ulr UserLoginRequest) Validate() error
type UserLoginResponse ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.