Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationConfig ¶
type Config ¶
type Config struct {
ApplicationConfig `yaml:"-"`
Debug bool `yaml:"debug"`
Transporter Transporter `yaml:"transporter"`
Database Database `yaml:"database"`
}
func (*Config) LoadFromFile ¶
type Database ¶
type Database struct {
LevelDB map[string]DatabaseLevelDB `yaml:"leveldb"`
SQLite map[string]DatabaseSQLite `yaml:"sqlite"`
CouchDB DatabaseCouchDB `yaml:"couch_db"`
}
type DatabaseCouchDB ¶
type DatabaseLevelDB ¶
type DatabaseSQLite ¶
type RedisTransporter ¶
type Transporter ¶
type Transporter struct {
Timeout uint `yaml:"timeout"`
HeartbeatInterval uint `yaml:"heartbeatInterval"`
DeliveryMethod types.DeliveryMethod `yaml:"deliveryMethod"`
Redis *RedisTransporter `yaml:"redis"`
}
Click to show internal directories.
Click to hide internal directories.