Versions in this module Expand all Collapse all v1 v1.6.7 Feb 27, 2018 Changes in this version + var Conf = Config + var LenStackBuf = 1024 + func LoadConfig(Path string) + type Config struct + Log map[string]interface{} + Master Master + Module map[string][]*ModuleSettings + Mqtt Mqtt + Rpc Rpc + Settings map[string]interface{} + type Master struct + Enable bool + Process []*Process + SSH []*SSH + WebHost string + WebRoot string + func (m *Master) GetSSH(host string) *SSH + type ModuleSettings struct + Host string + Id string + ProcessID string + Rabbitmq *Rabbitmq + Redis *Redis + Settings map[string]interface{} + type Mqtt struct + ReadPackLoop int + ReadTimeout int + WirteLoopChanNum int + WriteTimeout int + type Process struct + Args map[string]interface{} + Execfile string + Host string + LogDir string + ProcessID string + type Rabbitmq struct + BindingKey string + ConsumerTag string + Exchange string + ExchangeType string + Queue string + Uri string + type Redis struct + Queue string + Uri string + type Rpc struct + Log bool + LogSuccess bool + MaxCoroutine int + RpcExpired int + type SSH struct + Host string + Password string + Port int + User string + func (s *SSH) GetSSHHost() string