Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteUserProfileResponse ¶
type DeleteUserProfileResponse struct {
Result string `json:"result"`
}
func DeleteUserProfile ¶
func DeleteUserProfile(userId models.UserId) (DeleteUserProfileResponse, int, error)
type GetUserProfileResponse ¶
type GetUserProfileResponse struct { FileName string `json:"file_name"` FileData string `json:"file_data"` FileType string `json:"file_type"` }
func GetUserProfile ¶
func GetUserProfile(userId models.UserId) (GetUserProfileResponse, int, error)
type LoginRequest ¶
type LoginResponse ¶
func LoginUser ¶
func LoginUser(data LoginRequest) (LoginResponse, int, error)
type RefreshRequest ¶
type RefreshResponse ¶
type RefreshResponse struct {
Token string `json:"token"`
}
func RefreshUserToken ¶
func RefreshUserToken(data RefreshRequest) (RefreshResponse, int, error)
type RegisterRequest ¶
type RegisterResponse ¶
type RegisterResponse struct {
Result string `json:"result"`
}
func RegisterUser ¶
func RegisterUser(data RegisterRequest) (RegisterResponse, int, error)
type SaveUserProfileResponse ¶
type SaveUserProfileResponse struct {
Result string `json:"result"`
}
func SaveUserProfile ¶
func SaveUserProfile(userId models.UserId, formFile *multipart.FileHeader) (SaveUserProfileResponse, int, error)
Click to show internal directories.
Click to hide internal directories.