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连接状态并保存在数据库,增加网络检查器 --- model/request/common.go | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/model/request/common.go b/model/request/common.go index 952d6c6..c515c4e 100644 --- a/model/request/common.go +++ b/model/request/common.go @@ -8,3 +8,7 @@ type GetById struct { ID uint `json:"id"` // 涓婚敭ID } + +type SetCurrentDevice struct { + CurrentDeviceID string `json:"currentDeviceID,omitempty"` //褰撳墠閫夊畾鐨勭敓浜ц澶� +} -- Gitblit v1.8.0