From 7c1dd2e19119edd1ab147a699dfdcd11447fca14 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期四, 02 十一月 2023 21:20:53 +0800
Subject: [PATCH] serf集群master定时查询nsq连接状态并保存在数据库,增加网络检查器

---
 constvar/const.go |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/constvar/const.go b/constvar/const.go
index 3f6fc2b..a7e2065 100644
--- a/constvar/const.go
+++ b/constvar/const.go
@@ -113,3 +113,16 @@
 	ProblemCodePlcProcessModelAddressList ProblemCode = "plc_process_model_address_list" //plc鍦板潃琛ㄧ己澶�
 	ProblemCodePlcConnect                 ProblemCode = "plc_connect"                    //plc杩炴帴澶辫触
 )
+
+type SystemStatusKey string
+
+const (
+	SystemStatusKeyNsq SystemStatusKey = "nsq"
+)
+
+type SystemStatusValue string
+
+const (
+	SystemStatusValueNormal   SystemStatusValue = "1"
+	SystemStatusValueUnNormal SystemStatusValue = "2"
+)

--
Gitblit v1.8.0