Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoltdbConfig ¶ added in v0.9.0
type BoltdbConfig struct {
}
type LeveldbConfig ¶ added in v0.9.0
type LeveldbConfig struct {
}
type StorageConfig ¶ added in v0.9.0
type StorageConfig struct {
//Driver only `boltdb` and `elasticsearch` are available
Driver string `config:"driver"`
Boltdb *BoltdbConfig `config:"boltdb"`
Leveldb *LeveldbConfig `config:"leveldb"`
Elastic *index.ElasticsearchConfig `config:"elasticsearch"`
}
type StorageModule ¶
type StorageModule struct {
}
func (StorageModule) Name ¶
func (this StorageModule) Name() string
func (StorageModule) Start ¶
func (module StorageModule) Start(cfg *config.Config)
func (StorageModule) Stop ¶
func (module StorageModule) Stop() error
Click to show internal directories.
Click to hide internal directories.