package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Aug 23, 2021
License: BSD-3-Clause
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Bucketfile
Upload, get and list files in a Google Cloud storage bucket
- Version: 1.0.0
- License: BSD-3
Documentation
¶
Package bucketfile provides an easy way to:
* upload a file to a bucket
* get a file from a bucket
* list files in a bucket
Get takes a bucket name and an object name and
returns the file data as a slice of bytes.
It has a 50 second timeout.
List lists objects within the specified bucket
It has a 10 second timeout.
Upload takes an io.Reader, bucket name and object name
and uploads the file to the bucket. It has a 50 second timeout.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.