initial import

This commit is contained in:
kevin
2020-07-26 17:09:05 +08:00
commit 7e3a369a8f
647 changed files with 54754 additions and 0 deletions

18
rq/config.go Normal file
View File

@@ -0,0 +1,18 @@
package rq
import (
"zero/core/discov"
"zero/core/service"
"zero/core/stores/redis"
)
type RmqConf struct {
service.ServiceConf
Redis redis.RedisKeyConf
Etcd discov.EtcdConf `json:",optional"`
NumProducers int `json:",optional"`
NumConsumers int `json:",optional"`
Timeout int64 `json:",optional"`
DropBefore int64 `json:",optional"`
ServerSensitive bool `json:",default=false"`
}