api

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2022 License: MIT Imports: 12 Imported by: 1

Documentation

Index

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 ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL