freifunkmanager/websocket/msg.go

14 lines
247 B
Go
Raw Normal View History

2017-05-08 19:13:29 +02:00
package websocket
import "github.com/FreifunkBremen/freifunkmanager/runtime"
type Message struct {
State string `json:"state"`
Node *runtime.Node `json:"node"`
}
const (
StateUpdateNode = "to-update"
StateCurrentNode = "current"
)