mirror of
https://gitee.com/goploy/goploy.git
synced 2024-12-04 21:21:40 +08:00
16 lines
272 B
Go
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
|
|
}
|