Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiError ¶
type ApiError struct { Message string `json:"message,omitempty"` Code int `json:"status,omitempty"` }
ApiError is the model for request errors, containing a `status` (http status code) and a message
type ApiResponse ¶
type ApiResponse struct {
Message string `json:"message,omitempty"`
}
ApiResponse is the model for request resposne messages it contains only a simple message that can be transformed to JSON
Click to show internal directories.
Click to hide internal directories.