Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadRequest ¶
Types ¶
type ErrorResponse ¶
func NewError ¶
func NewError(code int) *ErrorResponse
type Response ¶
type Response struct { Meta *ResponseMeta `json:"meta"` Links *page.PageLinks `json:"links"` Data interface{} `json:"data"` }
type ResponseMeta ¶
Click to show internal directories.
Click to hide internal directories.