servernode

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(uuid string, logicChannel chan string) serverprotocol.Node

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) GetPing

func (self *Node) GetPing() bool

func (*Node) GetPong

func (self *Node) GetPong() bool

func (*Node) LogicChannel

func (self *Node) LogicChannel() chan string

func (*Node) Reset

func (self *Node) Reset(key string)

func (*Node) Set

func (self *Node) Set(key string, value interface{})

func (*Node) SetConn

func (self *Node) SetConn(conn net.Conn)

func (*Node) State

func (self *Node) State() interface{}

func (*Node) Write

func (n *Node) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL