mirror of
https://gitee.com/goploy/goploy.git
synced 2024-12-04 04:59:58 +08:00
17 lines
331 B
Go
17 lines
331 B
Go
package ws
|
|
|
|
// ProjectMessage is publish project message struct
|
|
type MonitorMessage struct {
|
|
MonitorID int64 `json:"monitorId"`
|
|
State uint8 `json:"state"`
|
|
ErrorContent string `json:"errorContent"`
|
|
}
|
|
|
|
const (
|
|
MonitorTurnOff = 0
|
|
)
|
|
|
|
func (projectMessage MonitorMessage) canSendTo(client *Client) error {
|
|
return nil
|
|
}
|