Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UseBackend ¶
func UseBackend(cfg *BackendConfig) (vault.StorageBackend, error)
Types ¶
type BackendConfig ¶
type BackendConfig struct { Name string Postgres *PostgresStorage }
func NewBackendConfig ¶
func NewBackendConfig() *BackendConfig
type BackendInitFunc ¶
type BackendInitFunc func(cfg *BackendConfig) (vault.StorageBackend, error)
type PostgresStorage ¶
func NewPostgresStorage ¶
func NewPostgresStorage(connectionURL *url.URL) (*PostgresStorage, error)
func (*PostgresStorage) ReadInitData ¶
func (*PostgresStorage) WriteInitData ¶
Click to show internal directories.
Click to hide internal directories.