Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UserError = struct { UserEmailAlreadyExist resp.ErrorResponse UserEmailNotExist resp.ErrorResponse UserSignUp resp.ErrorResponse UserLogin resp.ErrorResponse UserEmailOrPasswordNotCorrect resp.ErrorResponse UserNotFound resp.ErrorResponse }{ UserEmailAlreadyExist: resp.ErrorResponse{ Code: "00002001", Message: "email_already_exist", StatusCode: http.StatusBadRequest, }, UserEmailNotExist: resp.ErrorResponse{ Code: "00002002", Message: "email_not_exist", StatusCode: http.StatusBadRequest, }, UserSignUp: resp.ErrorResponse{ Code: "00002003", Message: "sign_up_error", StatusCode: http.StatusInternalServerError, }, UserLogin: resp.ErrorResponse{ Code: "00002004", Message: "login_error", StatusCode: http.StatusInternalServerError, }, UserEmailOrPasswordNotCorrect: resp.ErrorResponse{ Code: "00002005", Message: "email_or_password_not_correct", StatusCode: http.StatusBadRequest, }, UserNotFound: resp.ErrorResponse{ Code: "00002006", Message: "user_not_found", StatusCode: http.StatusNotFound, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.