Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeBody ¶
func EncodeBody ¶
Types ¶
type MessageFromCluster ¶
type MessageType ¶
type MessageType rune
const ( Request MessageType = 'Q' Response MessageType = 'A' )
type TcpClientsManager ¶
type TcpClientsManager struct {
// contains filtered or unexported fields
}
func InitTcpClientsManager ¶
func InitTcpClientsManager(nodeId string) *TcpClientsManager
func (*TcpClientsManager) SendMessage ¶
func (c *TcpClientsManager) SendMessage(toNodeId string, messageType MessageType, action actions.Action, body interface{}) (*Frame, error)
Click to show internal directories.
Click to hide internal directories.