Versions in this module Expand all Collapse all v0 v0.2.1 Oct 27, 2015 Changes in this version + func Instances() <-chan *Instance + func Types() <-chan *Type + type Config struct + Address string + Config *config.Config + type Instance struct + Config *Config + Description string + ID int32 + Inst Module + IsStarted bool + Name string + Type *Type + TypeID int32 type Module + ID func() int32 + type Type struct + DefaultConfigs []*Config + ID int32 + IgnoreFailOnInit bool + InitFunc Init + Name string v0.2.1-rc1 Oct 20, 2015 v0.2.0 Sep 29, 2015 Changes in this version + func GetModOptVal(opts map[string]string, key string) string + func InitializeDefaultModules() error + func ModuleInstances() <-chan *ModuleInstance + func ModuleTypes() <-chan *ModuleType + func RegisterModule(name string, ignoreFailOnInit bool, initFunc Init, ...) int32 + func StartDefaultModules() error + func StartModule(modInstId int32) error + type Init func(id int32, config *ModuleConfig) (Module, error) + type Module interface + Address func() string + Description func() string + Id func() int32 + Name func() string + Start func() error + Stop func() error + type ModuleConfig struct + Address string + Config *config.Config + type ModuleInstance struct + Config *ModuleConfig + Description string + Id int32 + Inst Module + IsStarted bool + Name string + Type *ModuleType + TypeId int32 + func GetModuleInstance(modInstId int32) (*ModuleInstance, error) + func InitializeModule(modTypeId int32, modConfig *ModuleConfig) (*ModuleInstance, error) + type ModuleType struct + DefaultConfigs []*ModuleConfig + Id int32 + IgnoreFailOnInit bool + InitFunc Init + Name string v0.2.0-rc5 Sep 23, 2015 v0.2.0-rc4 Sep 21, 2015 v0.2.0-rc3 Sep 16, 2015 v0.2.0-rc2 Sep 15, 2015 v0.2.0-rc1 Sep 9, 2015