Documentation
¶
Index ¶
- func NewStore(name driver.PersistenceName, d multiplexed.Driver, params ...string) (driver2.VaultStore, error)
- func OpenMemoryVault(params ...string) (driver.VaultStore, error)
- func OpenPostgresVault(name string) (driver.VaultStore, func(), error)
- func OpenSqliteVault(key, tempDir string) (driver.VaultStore, error)
- type CachedVaultStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStore ¶
func NewStore(name driver.PersistenceName, d multiplexed.Driver, params ...string) (driver2.VaultStore, error)
func OpenMemoryVault ¶
func OpenMemoryVault(params ...string) (driver.VaultStore, error)
func OpenPostgresVault ¶
func OpenPostgresVault(name string) (driver.VaultStore, func(), error)
func OpenSqliteVault ¶
func OpenSqliteVault(key, tempDir string) (driver.VaultStore, error)
Types ¶
type CachedVaultStore ¶
type CachedVaultStore interface {
driver.VaultStore
Invalidate(txIDs ...driver.TxID)
}
func NewCachedVault ¶
func NewCachedVault(backed driver2.VaultStore, cacheSize int) CachedVaultStore
Click to show internal directories.
Click to hide internal directories.