Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collection ¶
type Collection []Config
type ContentResponse ¶
type ContentResponse struct { Content []interface{} `json:"content"` First bool `json:"first"` Last bool `json:"last"` TotalPages int `json:"total_pages"` ContentResponseMeta }
func ToContentResponse ¶
func ToContentResponse( resources []interface{}, meta ContentResponseMeta, ) ContentResponse
type ContentResponseMeta ¶
type PrivateTPL ¶ added in v0.0.26
type RawHeaders ¶ added in v0.0.26
type RawHeaders []RawHeader
type ResultError ¶
type ResultError struct { Status int `json:"-"` Field string `json:"-"` ErrMessage string `json:"-"` Message string `json:"message"` Reasons []map[string]interface{} `json:"reasons"` }
func ToResultError ¶
func ToResultError(err error, message string, status int) *ResultError
func (*ResultError) Error ¶
func (m *ResultError) Error() string
func (*ResultError) GetDetails ¶
func (m *ResultError) GetDetails() ResultError
func (*ResultError) GetMessage ¶
func (m *ResultError) GetMessage() string
func (*ResultError) GetStatus ¶
func (m *ResultError) GetStatus() int
type StreamResult ¶ added in v0.0.56
Click to show internal directories.
Click to hide internal directories.