Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
API checkout.HTTPClient
}
Client ...
func (*Client) UploadFile ¶
func (c *Client) UploadFile(file *FileUpload) (*Response, error)
UploadFile -
type File ¶
type File struct { ID string `json:"id,omitempty"` Filename string `json:"filename,omitempty"` Purpose string `json:"purpose,omitempty"` Size uint64 `json:"size,omitempty"` UploadedOn time.Time `json:"uploaded_on,omitempty"` Links map[string]common.Link `json:"_links"` }
File -
type FileUpload ¶
FileUpload -
Click to show internal directories.
Click to hide internal directories.