forked from TrueCloudLab/neoneo-go
4f680703a4
add config which closes #336 add redis db support
10 lines
298 B
Go
10 lines
298 B
Go
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"`
|
|
}
|
|
)
|