bucket

package
v0.0.0-...-82264af Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func For

Given a `key` in the format of `adapter://bucket/key` returns the corresponding adapter that will allow to manipulate (e.g. download, upload or list) such key.

Currently supported adapters are `gcs` (Google Cloud Storage), `s3` (AWS S3)

@param [String] key The reference key @return [KeyStorage] An interface to the adapter that can handle requests on the given key @example Configure {BucketStore} for Google Cloud Storage BucketStore.for("gcs://the_bucket/a/valid/key")

Types

This section is empty.

Directories

Path Synopsis
gcs
s3

Jump to

Keyboard shortcuts

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