Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsConflict ¶
Types ¶
type APIResponse ¶
type APIResponse struct {
Error *Error `json:"error,omitempty"`
}
APIResponse ...
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client ...
func (*Client) SetHTTPClient ¶
SetHTTPClient sets the http.Client to use.
type Error ¶
type Error struct { Message string `json:"message,omitempty"` Status int `json:"status,omitempty"` }
Error ...
type Logger ¶
type Logger interface { Debugf(format string, args ...interface{}) Infof(format string, args ...interface{}) Warningf(format string, args ...interface{}) Errorf(format string, args ...interface{}) Fatalf(format string, args ...interface{}) }
Logger interface used in this package.
type Metadata ¶
type Metadata struct { CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` }
Metadata ...
Click to show internal directories.
Click to hide internal directories.