Documentation ¶
Index ¶
- func New(uuid string, logicChannel chan string) serverprotocol.Node
- type Node
- func (self *Node) GetNotification(data json.RawMessage) *notifications.Notification
- func (self *Node) GetPing() bool
- func (self *Node) GetPong() bool
- func (self *Node) LogicChannel() chan string
- func (self *Node) Reset(key string)
- func (self *Node) Set(key string, value interface{})
- func (self *Node) SetConn(conn net.Conn)
- func (self *Node) State() interface{}
- func (n *Node) Write(b []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Node ¶
type Node struct { protocol.Node State_ map[string]interface{} `json:"State"` // contains filtered or unexported fields }
func (*Node) GetNotification ¶
func (self *Node) GetNotification(data json.RawMessage) *notifications.Notification
func (*Node) LogicChannel ¶
Click to show internal directories.
Click to hide internal directories.