goploy/ws/MonitorMessage.go
2021-12-21 16:49:17 +08:00

16 lines
272 B
Go

package ws
type MonitorMessage struct {
MonitorID int64 `json:"monitorId"`
State uint8 `json:"state"`
ErrorContent string `json:"errorContent"`
}
const (
MonitorTurnOff = 0
)
func (projectMessage MonitorMessage) canSendTo(*Client) error {
return nil
}