Documentation
¶
Index ¶
- type GoogleCloudStorage
- func (gcs *GoogleCloudStorage) Delete(ctx context.Context, filename string) error
- func (gcs *GoogleCloudStorage) PublicURL(filename string) string
- func (gcs *GoogleCloudStorage) Setup() error
- func (gcs *GoogleCloudStorage) Store(ctx context.Context, filename string, data []byte, metadata map[string]string) error
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleCloudStorage ¶
type GoogleCloudStorage struct { Storage Options []option.ClientOption // contains filtered or unexported fields }
func (*GoogleCloudStorage) Delete ¶
func (gcs *GoogleCloudStorage) Delete(ctx context.Context, filename string) error
func (*GoogleCloudStorage) PublicURL ¶
func (gcs *GoogleCloudStorage) PublicURL(filename string) string
func (*GoogleCloudStorage) Setup ¶
func (gcs *GoogleCloudStorage) Setup() error
Click to show internal directories.
Click to hide internal directories.