Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct { Action string // "new", "set", "destroy", "save", "load", "setDisplay" Name string `json:",omitempty"` // "new" Kind string `json:",omitempty"` // "new", "set" Value float64 `json:",omitempty"` // for Kind: "value" // "connect", "disconnect" From string `json:",omitEmpty"` To string `json:",omitempty"` Input string `json:",omitempty"` // "setDisplay" Display map[string]interface{} `json:",omitempty"` // "hello" KindInputs map[string][]string `json:",omitempty"` // "setGraph" Graph []*ui.Object `json:",omitempty"` // "message" Message string }
type Session ¶
type Session struct { M <-chan *Message // contains filtered or unexported fields }
func NewSession ¶
Click to show internal directories.
Click to hide internal directories.