blob

package
v0.0.0-...-60b8695 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AWS

func AWS(ctx context.Context, bucket string, conf *aws.Config) (*blob.Bucket, error)

func GCP

func GCP(ctx context.Context, bucket string, jsonCredentials []byte) (*blob.Bucket, error)

func Local

func Local(_ context.Context, bucket, path string) (*blob.Bucket, error)

func WriterOptions

func WriterOptions(contentType string, kv ...string) *blob.WriterOptions

WriterOptions returns WriterOptions with the given content type and metadata from the given key-value pairs.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL