Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BucketServiceInterface ¶
type BucketServiceInterface interface {
DownLoadFile(filename string, serviceAccountEmailAddress string) (io.Reader, error)
SetBucketACL(serviceAccountEmailAddress string, role string) error
RemoveBucketACL(serviceAccount string) error
DeleteFile(filename string) error
UploadFile(targetFilename string, originalFilename string, serviceAccountEmailAddress string) error
}
func NewBucketService ¶
func NewBucketService(bucket string, client *http.Client, storageService *storage.Service, storageClient *StorageClient.Client) BucketServiceInterface
Click to show internal directories.
Click to hide internal directories.