Documentation ¶ Index ¶ Constants type GCS func New(bucketName, credentialJSONFilePath string, httpClient *http.Client) (g *GCS, err error) func (g *GCS) Delete(ctx context.Context, name string) (err error) func (g *GCS) Exists(ctx context.Context, name string) (exists bool, err error) func (g *GCS) SaveAs(ctx context.Context, name string, r io.Reader) (written int64, err error) Constants ¶ View Source const ( DefaultCacheControl = "" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type GCS ¶ type GCS struct { // contains filtered or unexported fields } func New ¶ func New(bucketName, credentialJSONFilePath string, httpClient *http.Client) (g *GCS, err error) func (*GCS) Delete ¶ func (g *GCS) Delete(ctx context.Context, name string) (err error) func (*GCS) Exists ¶ func (g *GCS) Exists(ctx context.Context, name string) (exists bool, err error) func (*GCS) SaveAs ¶ func (g *GCS) SaveAs(ctx context.Context, name string, r io.Reader) (written int64, err error) Source Files ¶ View all Source files gcs.go Click to show internal directories. Click to hide internal directories.