Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrEmptyGroupName = errors.New("empty group name")
)
View Source
var (
ErrHandshake = errors.New("handshake error")
)
Functions ¶
This section is empty.
Types ¶
type IncomingMessage ¶
type IncomingMessage struct {
// contains filtered or unexported fields
}
func (*IncomingMessage) Data ¶
func (r *IncomingMessage) Data() []byte
func (*IncomingMessage) SetResponse ¶
func (r *IncomingMessage) SetResponse(d []byte, e error)
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) ReceiveCh ¶
func (n *Node) ReceiveCh() chan *IncomingMessage
func (*Node) SendCh ¶
func (n *Node) SendCh() chan *OutgoingMessage
type OutgoingMessage ¶
type OutgoingMessage struct {
// contains filtered or unexported fields
}
func NewOutgoingMessage ¶
func NewOutgoingMessage(d []byte) *OutgoingMessage
func (*OutgoingMessage) Data ¶
func (r *OutgoingMessage) Data() []byte
func (*OutgoingMessage) Response ¶
func (r *OutgoingMessage) Response() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.