Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadRequestError ¶
type BadRequestError struct {
Message string
}
func (BadRequestError) Error ¶
func (e BadRequestError) Error() string
type ForbiddenError ¶
type ForbiddenError struct {
Message string
}
func (ForbiddenError) Error ¶
func (e ForbiddenError) Error() string
type HttpAccessTokenSuccess ¶
type HttpFailure ¶
type HttpFailures ¶
type HttpSuccess ¶
type HttpUserSuccess ¶
type HttpUserSuccess struct { Status string `json:"status"` User UserViewDto `json:"user"` }
type HttpUsersSuccess ¶
type HttpUsersSuccess struct { Status string `json:"status"` Users []*UserViewDto `json:"users"` }
type InternalServerError ¶
type InternalServerError struct {
Message string
}
func (InternalServerError) Error ¶
func (e InternalServerError) Error() string
type UserCreateDto ¶
type UserCreateDto struct { Name string `json:"name"` Age uint8 `json:"age"` Email string `json:"email"` Password string `json:"password"` }
UserViewDto - A dto of the User type for creation
type UserLoginDto ¶
UserViewDto - A dto of the User type for creation
Click to show internal directories.
Click to hide internal directories.