storage

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL