Documentation ¶
Overview ¶
Package store is a registry for Store factories.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
Create creates a bs.Store of the type indicated by key, using the supplied configuration.
func FromConfigFile ¶ added in v0.4.0
FromConfigFile loads a config file in JSON format from the given filename. It creates a bs.Store of the type indicated by its `type` key. The rest of the JSON object must be the config for a store of the given type.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package file implements a blob store as a file hierarchy.
|
Package file implements a blob store as a file hierarchy. |
Package gcs implements a blob store on Google Cloud Storage.
|
Package gcs implements a blob store on Google Cloud Storage. |
Package logging implements a store that delegates everything to a nested store, logging operations as they happen.
|
Package logging implements a store that delegates everything to a nested store, logging operations as they happen. |
Package lru implements a blob store that acts as a least-recently-used cache for a nested blob store.
|
Package lru implements a blob store that acts as a least-recently-used cache for a nested blob store. |
Package mem implements an in-memory blob store.
|
Package mem implements an in-memory blob store. |
Package pg implements a blob store in a Postgresql relational database schema.
|
Package pg implements a blob store in a Postgresql relational database schema. |
Package rpc defines an RPC server managing a blob store, and a client for it that implements bs.Store (and anchor.Store).
|
Package rpc defines an RPC server managing a blob store, and a client for it that implements bs.Store (and anchor.Store). |
Package sqlite3 implements a blob store in a Sqlite3 relational database schema.
|
Package sqlite3 implements a blob store in a Sqlite3 relational database schema. |
Package transform implements a blob store that can transform blobs into and out of a nested store.
|
Package transform implements a blob store that can transform blobs into and out of a nested store. |
Click to show internal directories.
Click to hide internal directories.