2019-09-10 14:22:21 +00:00
|
|
|
package storage
|
|
|
|
|
|
|
|
type (
|
|
|
|
// DBConfiguration describes configuration for DB. Supported: 'levelDB', 'redisDB'.
|
|
|
|
DBConfiguration struct {
|
|
|
|
Type string `yaml:"Type"`
|
|
|
|
LevelDBOptions LevelDBOptions `yaml:"LevelDBOptions"`
|
|
|
|
RedisDBOptions RedisDBOptions `yaml:"RedisDBOptions"`
|
2019-09-14 07:28:43 +00:00
|
|
|
BoltDBOptions BoltDBOptions `yaml:"BoltDBOptions"`
|
2019-09-10 14:22:21 +00:00
|
|
|
}
|
|
|
|
)
|