func (ish *InterruptSignalHandler) Process(s os.Signal, ud interface{}) error { logger.Info("Receive Interrupt signal, process start quit.") module.Stop() return nil }
func (ish *KillSignalHandler) Process(s os.Signal, ud interface{}) error { logger.Info("Receive Kill signal, process be close") module.Stop() return nil }
func (this exitExecuter) Execute(args []string) { module.Stop() }