MCPcopy Create free account
hub / github.com/LockGit/gochat / TaskBase

Struct TaskBase

config/config.go:211–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211type TaskBase struct {
212 CpuNum int `mapstructure:"cpuNum"`
213 RedisAddr string `mapstructure:"redisAddr"`
214 RedisPassword string `mapstructure:"redisPassword"`
215 RpcAddress string `mapstructure:"rpcAddress"`
216 PushChan int `mapstructure:"pushChan"`
217 PushChanSize int `mapstructure:"pushChanSize"`
218}
219
220type TaskConfig struct {
221 TaskBase TaskBase `mapstructure:"task-base"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected