Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func For ¶
func For(key string) *keyStorage.ServiceMappers
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.
Click to show internal directories.
Click to hide internal directories.