Documentation
¶
Index ¶
- func IsValidCronJobHandle(handle string) bool
- func IsValidJobHandle(handle string) bool
- func LocalIP() (net.IP, error)
- func ReadMessage(r io.Reader) (runtime.PT, []byte, error)
- type AP
- type Client
- type Config
- type Server
- func (s *Server) Clients() int
- func (s *Server) DeleteCronJob(cj *CronJob) error
- func (s *Server) EvtLoop()
- func (s *Server) ExpressionToEpoch(scdTime string) (int64, bool)
- func (s *Server) Jobs() int
- func (s *Server) RunningJobsByFunction() map[string]int
- func (s *Server) RunningJobsByWorker() map[string]int
- func (s *Server) Start()
- func (s *Server) Stats() map[string]int
- func (s *Server) WatchJobTimeout()
- func (s *Server) WatcherLoop()
- func (s *Server) Workers() int
- type Session
- type Tuple
- type Worker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidCronJobHandle ¶
func IsValidJobHandle ¶
Types ¶
type AP ¶
type AP string
const ( AP_Workers AP = "workers" AP_Status AP = "status" AP_Cancel AP = "cancel-job" AP_Show AP = "show" AP_Create AP = "create" AP_Drop AP = "drop" AP_MaxQueue AP = "maxqueue" AP_GetPid AP = "getpid" AP_Shutdown AP = "shutdown" AP_Verbose AP = "verbose" AP_Version AP = "version" AP_PRIORITY_STATUS AP = "prioritystatus" )
func ParseTextMessage ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) DeleteCronJob ¶
func (*Server) RunningJobsByFunction ¶
func (*Server) RunningJobsByWorker ¶
func (*Server) WatchJobTimeout ¶
func (s *Server) WatchJobTimeout()
func (*Server) WatcherLoop ¶
func (s *Server) WatcherLoop()
Click to show internal directories.
Click to hide internal directories.