package
0.0.4
Repository: https://github.com/sraphs/gdk.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package driver defines interfaces to be implemented by blob drivers, which will be used by the blob package to interact with the underlying services.
Package drivertest provides a conformance test for implementations of driver.
Package fileblob provides a blob implementation that uses the filesystem.
Package memblob provides an in-memory blob implementation.
Package s3blob provides a blob implementation that uses S3.

# Functions

DefaultURLMux returns the URLMux used by OpenBucket.
OpenBucket opens the bucket identified by the URL given.
PrefixedBucket returns a *Bucket based on b with all keys modified to have prefix, which will usually end with a "/" to target a subdirectory in the bucket.
SingleKeyBucket returns a *Bucket based on b that always references singleKey.

# Constants

DefaultSignedURLExpiry is the default duration for SignedURLOptions.Expiry.

# Variables

FirstPageToken is the pageToken to pass to ListPage to retrieve the first page of results.
NewBucket is intended for use by drivers only.
OpenCensusViews are predefined views for OpenCensus metrics.

# Structs

Attributes contains attributes about a blob.
Bucket provides an easy and portable way to interact with blobs within a "bucket", including read, write, and list operations.
CopyOptions sets options for Copy.
ListIterator iterates over List results.
ListObject represents a single blob returned from List.
ListOptions sets options for listing blobs via Bucket.List.
Reader reads bytes from a blob.
ReaderOptions sets options for NewReader and NewRangeReader.
SignedURLOptions sets options for SignedURL.
URLMux is a URL opener multiplexer.
Writer writes bytes to a blob.
WriterOptions sets options for NewWriter.

# Interfaces

BucketURLOpener represents types that can open buckets based on a URL.