bfsgs

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: May 23, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package bfsgs abstracts Google Cloud Storage bucket.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, bucket string, cfg *Config) (bfs.Bucket, error)

New initiates an bfs.Bucket backed by Google Cloud Storage.

Types

type Config

type Config struct {
	Prefix string // an optional path prefix
}

Config is passed to New to configure the Google Cloud Storage connection.

Jump to

Keyboard shortcuts

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