1、消息提示
This commit is contained in:
11
common/global/websocket.go
Normal file
11
common/global/websocket.go
Normal file
@ -0,0 +1,11 @@
|
||||
package global
|
||||
|
||||
import "go-admin/app/websocket"
|
||||
|
||||
var WebSocketHub *websocket.Hub
|
||||
|
||||
type AlarmLogNotice struct {
|
||||
MachineId string `json:"machineId"`
|
||||
BiosId string `json:"biosId"`
|
||||
Content string `json:"content"`
|
||||
}
|
||||
Reference in New Issue
Block a user