Documentation ¶ Index ¶ type API func NewAPI(APIKey string, Secret string, BaseURI string, ProxyURL string) (*API, error) func (a *API) UploadFile(domain string, bucket string, path string, mimeType string, reader io.Reader) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type API ¶ type API struct { APIKey string Secret string BaseURI string // contains filtered or unexported fields } API ... func NewAPI ¶ func NewAPI(APIKey string, Secret string, BaseURI string, ProxyURL string) (*API, error) NewAPI creates a new instance of API func (*API) UploadFile ¶ func (a *API) UploadFile(domain string, bucket string, path string, mimeType string, reader io.Reader) error UploadFile ... Source Files ¶ View all Source files api.goupload.go Directories ¶ Show internal Expand all Path Synopsis authentication vo Click to show internal directories. Click to hide internal directories.