Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Config = new(Conf)
)
Functions ¶
Types ¶
type Conf ¶
type Conf struct {
Node string // node 进程路径
Proc string // 当前执行任务路径
Cmd string // cmd 路径
Once string // 马上执行任务路径
Csctl string // csctl 发送执行命令的路径
Lock string // job lock 路径
Group string // 节点分组
Noticer string // 通知
PIDFile string
UUIDFile string
Ttl int64 // 节点超时时间,单位秒
ReqTimeout int // 请求超时时间,单位秒
// 执行任务信息过期时间,单位秒
// 0 为不过期
ProcTtl int64
// 记录任务执行中的信息的执行时间阀值,单位秒
// 0 为不限制
ProcReq int64
// 单机任务锁过期时间,单位秒
// 默认 300
LockTtl int64
Etcd *etcdConfig
Mgo *db.Config
Web *webConfig
Mail *MailConf
Security *Security
}
type SessionConfig ¶ added in v0.2.1
Click to show internal directories.
Click to hide internal directories.