Documentation
¶
Index ¶
Constants ¶
View Source
const ( RecordPath = "records" BlobPath = "cards" ManifestPath = "manifest" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobStorage ¶
type BlobStorage string
BlobStorage identifies a blob storage implementation
const ( Pebble BlobStorage = "pblob" SQLiteBlob BlobStorage = "sqlblob" )
type Handler ¶
type Handler interface {
Names() []VaultName
Count() int
Create(name VaultName) error
Delete(name VaultName) error
}
Handler provides vault management operations
type Manifest ¶
type Manifest struct {
RecordStorage RecordStorage
BlobStorage BlobStorage
}
Manifest describes the storage types used by a vault
type Options ¶
type Options struct {
Path string
MaxVaults int
Workers int
RecordStorage RecordStorage
BlobStorage BlobStorage
RecordStorages map[RecordStorage]record.Builder
BlobStorages map[BlobStorage]blob.Builder
}
Options configures the library service
type RecordStorage ¶
type RecordStorage string
RecordStorage identifies a record storage implementation
const (
EntSQL RecordStorage = "erecord"
)
Click to show internal directories.
Click to hide internal directories.