Documentation ¶ Index ¶ func NewClient(ctx context.Context, options ...option.ClientOption) (*storage.Client, error) func Read(ctx context.Context, client *storage.Client, bucket string, ...) error func Write(ctx context.Context, client *storage.Client, bucket string, ...) error type FileDownload type FileUpload Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewClient ¶ func NewClient(ctx context.Context, options ...option.ClientOption) (*storage.Client, error) func Read ¶ func Read(ctx context.Context, client *storage.Client, bucket string, files ...*FileDownload) error func Write ¶ func Write(ctx context.Context, client *storage.Client, bucket string, files ...*FileUpload) error Types ¶ type FileDownload ¶ type FileDownload struct { FilePath string FileName string Data []byte } type FileUpload ¶ type FileUpload struct { FilePath string FileName string MimeType string Data []byte } Source Files ¶ View all Source files client.go read.go types.go write.go Click to show internal directories. Click to hide internal directories.