Versions in this module Expand all Collapse all v0 v0.0.1 Apr 22, 2024 Changes in this version + type StorageConfig struct + Context context.Context + GcsOption []option.ClientOption + Type string + type StorageFunctioner interface + DeleteFolder func(ctx context.Context, bucket, path string) (err error) + GetAttributes func(ctx context.Context, bucket, path string) (attrs *model.ObjAttrs, err error) + GetPathSize func(ctx context.Context, bucket string, path string) (size int64, err error) + GetSignedDownloadURL func(ctx context.Context, bucket, path string, expiry time.Time) (url string, err error) + GetSignedUploadUrl func(ctx context.Context, bucket, path string, expiry time.Time) (url string, err error) + ListBuckets func(ctx context.Context, projectId string) (buckets []string, err error) + ListObjects func(ctx context.Context, bucket, path string) (objs []string, err error) + func NewClient(configs StorageConfig) (storageClient StorageFunctioner, err error)