Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthResponse ¶
type HealthResponse struct { Status string `json:"status"` Mysql string `json:"mysql"` Redis string `json:"redis"` CreatedAt *time.Time `json:"check_at"` }
HealthResponse Types
type ProducerRequest ¶
ProducerRequest ...
type ProducerResponse ¶
ProducerResponse ...
type UserDetailResponse ¶
type UserDetailResponse struct { ID uint `json:"id"` Name string `json:"name"` Email string `json:"email"` Password string `json:"password"` DateOfBirth string `json:"date_of_birth"` PhoneNumber string `json:"phone_number"` CurrentAddress string `json:"current_address"` City string `json:"city"` Province string `json:"province"` District string `json:"district"` Lat float64 `json:"lat"` Lng float64 `json:"lng"` Job string `json:"job"` Image string `json:"image"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` }
UserDetailResponse scheme to detail respons
type UserRequest ¶
type UserRequest struct { Name string `json:"name" form:"name"` Email string `json:"email" form:"email"` Password string `json:"password" form:"password"` DateOfBirth string `json:"date_of_birth" form:"date_of_birth"` PhoneNumber string `json:"phone_number" form:"phone_number"` CurrentAddress string `json:"current_address" form:"current_address"` City string `json:"city" form:"city"` Province string `json:"province" form:"province"` District string `json:"district" form:"district"` Lat float64 `json:"lat" form:"lat"` Lng float64 `json:"lng" form:"lng"` Job string `json:"job" form:"job"` Image string `json:"image" form:"image"` }
UserRequest Scheme From Request
type UserResponse ¶
type UserResponse struct { ID uint `json:"id"` Name string `json:"name"` Email string `json:"email"` Password string `json:"password"` DateOfBirth string `json:"date_of_birt"` PhoneNumber string `json:"phone_number"` CurrentAddress string `json:"current_address"` City string `json:"city"` Province string `json:"province"` District string `json:"district"` CreatedAt *time.Time `json:"created_at"` UpdatedAt *time.Time `json:"updated_at"` }
UserResponse scheme to all respons
Click to show internal directories.
Click to hide internal directories.