Documentation ¶
Overview ¶
Package storage provides object storage for Go binaries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrObjectNotFound = errors.New("no cloud storage object")
ErrObjectNotFound is returned from Get when no object is found for the specified key.
Functions ¶
This section is empty.
Types ¶
type Google ¶
type Google struct { // Client is the Google Cloud Storage client. Client *storage.Client // Bucket is the bucket name. Bucket string // Prefix is an optional object key prefix. Prefix string }
Google is a Google Cloud Storage object store for binaries.
func (*Google) Get ¶
func (g *Google) Get(ctx context.Context, bin gobinaries.Binary) (io.ReadCloser, error)
Get returns an object.
Click to show internal directories.
Click to hide internal directories.