Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type APIResponse struct { IsError bool `json:"error"` Message string `json:"message,omitempty"` Value interface{} `json:"value,omitempty"` }
APIResponse is the wrapper around all api responses. If there is an error, then a Message is sent. If there is no error, then Value is sent.
Click to show internal directories.
Click to hide internal directories.