Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadRequestError ¶ added in v0.5.0
type BadRequestError struct { // msg Msg string `json:"msg,omitempty"` }
BadRequestError bad request error swagger:model BadRequestError
func (BadRequestError) Error ¶ added in v0.5.0
func (o BadRequestError) Error() string
type GetBookInput ¶
type GetBookInput struct {
ID int64
}
GetBookInput holds the input parameters for a getBook operation.
func (GetBookInput) Validate ¶
func (i GetBookInput) Validate() error
Validate returns an error if any of the GetBookInput parameters don't satisfy the requirements from the swagger yml file.
type InternalError ¶ added in v0.4.0
type InternalError struct { // msg Msg string `json:"msg,omitempty"` }
InternalError internal error swagger:model InternalError
func (InternalError) Error ¶ added in v0.4.0
func (o InternalError) Error() string
type NotFoundError ¶ added in v0.5.0
type NotFoundError struct { // msg Msg string `json:"msg,omitempty"` }
NotFoundError not found error swagger:model NotFoundError
func (NotFoundError) Error ¶ added in v0.5.0
func (o NotFoundError) Error() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.