forked from TrueCloudLab/neoneo-go
dbconfig: fix DBConfiguration
description
The list of three supported types (`Type`) in the `DBConfiguration` struct has been added. Signed-off-by: Tatiana Nesterenko <tatiana@nspcc.io>
This commit is contained in:
parent
0d30c834d5
commit
59f72429b4
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,8 @@ Package dbconfig is a micropackage that contains storage DB configuration option
|
||||||
package dbconfig
|
package dbconfig
|
||||||
|
|
||||||
type (
|
type (
|
||||||
// DBConfiguration describes configuration for DB. Supported: 'levelDB', 'boltDB'.
|
// DBConfiguration describes configuration for DB. Supported types:
|
||||||
|
// [LevelDB], [BoltDB] or [InMemoryDB] (not recommended for production usage).
|
||||||
DBConfiguration struct {
|
DBConfiguration struct {
|
||||||
Type string `yaml:"Type"`
|
Type string `yaml:"Type"`
|
||||||
LevelDBOptions LevelDBOptions `yaml:"LevelDBOptions"`
|
LevelDBOptions LevelDBOptions `yaml:"LevelDBOptions"`
|
||||||
|
|
Loading…
Reference in a new issue