🆕完成客户端链接状态监控
This commit is contained in:
@@ -26,3 +26,14 @@ type Client struct {
|
||||
CreatedAt entity.JsonTime `json:"createAt"`
|
||||
UpdatedAt entity.JsonTime `json:"updatedAt"`
|
||||
}
|
||||
|
||||
type ClientStatus struct {
|
||||
Name string `json:"name"`
|
||||
Email string `json:"email"`
|
||||
IpAllocation string `json:"IpAllocation"`
|
||||
Endpoint string `json:"endpoint"`
|
||||
Received string `json:"received"`
|
||||
Transmitted string `json:"transmitted"`
|
||||
IsOnline bool `json:"isOnline"` // 是否在线 1 - 在线 | 0 - 不在线
|
||||
LastHandShake string `json:"lastHandShake"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user