Documentation
¶
Overview ¶
Package haven - encrypted-at-rest simple data storage
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProtectedKVStore ¶
func NewProtectedKVStore( ctx context.Context, dbDialector gorm.Dialector, dbLogLevel logger.LogLevel, primaryRSACertFile string, primaryRSAKeyFile string, ) (store.ProtectedKVStore, error)
NewProtectedKVStore initialize a protected KV store instance.
Each instance is backed by a SQL database; two instances using the same database are essentially copies of each other.
@param ctx context.Context - execution context @param dbDialector gorm.Dialector - GORM dialector @param dbLogLevel logger.LogLevel - SQL log level @param primaryRSACertFile string - file path to the primary RSA certificate PEM @param primaryRSAKeyFile string - file path to the primary RSA certificate private key PEM @returns new store instance
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package db - persistence layer
|
Package db - persistence layer |
|
Package encryption - data encryption processing engine
|
Package encryption - data encryption processing engine |
|
mocks
|
|
|
Package models - system data models
|
Package models - system data models |
|
Package store - data storage controllers
|
Package store - data storage controllers |
|
utils
|
|
|
atlas-migrate
command
Package main - Atlas GORM migration support binary
|
Package main - Atlas GORM migration support binary |
Click to show internal directories.
Click to hide internal directories.