Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupServer ¶ added in v0.4.0
Types ¶
type HTTPClientError ¶
type HTTPClientError struct {
Code int `json:"code" example:"400"`
Message string `json:"message" example:"status bad request"`
}
HTTPClientError returned when a client error occurs
type HTTPServerError ¶
type HTTPServerError struct {
Code int `json:"code" example:"502"`
Message string `json:"message" example:"status server error"`
}
HTTPServerError returned when a server error occurs
Click to show internal directories.
Click to hide internal directories.