Documentation ¶
Overview ¶
Package remotestorage wraps cloud storage API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleCloudStorage ¶
type GoogleCloudStorage struct { JSONKey []byte Project string Config *jwt.Config // contains filtered or unexported fields }
GoogleCloudStorage wraps Google Cloud Storage API.
func (*GoogleCloudStorage) UploadDir ¶
func (g *GoogleCloudStorage) UploadDir(bucket, src, dst string, opts ...OpOption) error
UploadDir uploads a directory to Google Cloud Storage.
func (*GoogleCloudStorage) UploadFile ¶
func (g *GoogleCloudStorage) UploadFile(bucket, src, dst string, opts ...OpOption) error
UploadFile uploads a file to Google Cloud Storage.
Click to show internal directories.
Click to hide internal directories.