func workerProviderShutdown(w *worker.Worker, args ...interface{}) { var prov = w.Props[0].(*provider.Provider) logger.Log(logger.LevelDebug, "provider", "%s: shutdown", prov.Name) w.SendJobSignal(jobSignalShutdown) }
func workerServeShutdown(w *worker.Worker, args ...interface{}) { logger.Log(logger.LevelDebug, "serveWorker", "shutdown") w.SendJobSignal(jobSignalShutdown) w.ReturnErr(nil) }
func workerProviderRefresh(w *worker.Worker, args ...interface{}) { var prov = w.Props[0].(*provider.Provider) logger.Log(logger.LevelDebug, "provider", "%s: refresh", prov.Name) w.SendJobSignal(jobSignalRefresh) }