Documentation ¶
Overview ¶
Package store defines the interfaces that implements the basic 'store' abstraction.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(name string, fn Constructor) error
Register registers a new Store Constructor with the given name.
Types ¶
type Constructor ¶
type Constructor func(name string, cfg config.StoreConfig) (Store, error)
A Constructor is a function that creates a Store.
Directories ¶
Path | Synopsis |
---|---|
fs
|
|
service
Package service implements a simple store.Store using an existing file system.
|
Package service implements a simple store.Store using an existing file system. |
changer/fake
Package fake provides a fake tape.Changer.
|
Package fake provides a fake tape.Changer. |
changer/mtx
Package mtx provides a changer.Changer that uses the mtx command to control a SCSI media changer.
|
Package mtx provides a changer.Changer that uses the mtx command to control a SCSI media changer. |
inv/postgres
Package postgres implements a PostgreSQL backed inv.Inventory.
|
Package postgres implements a PostgreSQL backed inv.Inventory. |
proto
Package proto is a generated protocol buffer package.
|
Package proto is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.