Documentation ¶
Index ¶
- Constants
- Variables
- func AddCrontabFunc(name, env, schedule, args string)
- func DeleteCrontabFunc(name string)
- func InitCrontab()
- func InitRPCPool()
- func RPCAsyncCall(ip string, function string, args string) (interface{}, error)
- func RPCCall(ip string, function string, args string) (interface{}, error)
- func RPCConnAddrs() map[string]string
- func RPCConnPool()
- func RPCConnect(host, addr string)
- type RPCPool
Constants ¶
View Source
const INTERVAL = 2 * time.Second
Variables ¶
View Source
var Crontab *cron.Cron
Functions ¶
func AddCrontabFunc ¶
func AddCrontabFunc(name, env, schedule, args string)
func DeleteCrontabFunc ¶
func DeleteCrontabFunc(name string)
func InitCrontab ¶
func InitCrontab()
func InitRPCPool ¶
func InitRPCPool()
func RPCConnAddrs ¶
func RPCConnPool ¶
func RPCConnPool()
func RPCConnect ¶
func RPCConnect(host, addr string)
Types ¶
Click to show internal directories.
Click to hide internal directories.