Merge pull request #3116 from nspcc-dev/2931-DBconfig-docs

Fix `DBConfiguration` description
This commit is contained in:
Roman Khimov 2023-09-04 08:47:28 +03:00 committed by GitHub
commit cb1432233b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"`