Documentation ¶
Index ¶
- Variables
- type Manager
- type TCPServer
- func (svr *TCPServer) Join(reqBody []byte) []byte
- func (svr *TCPServer) Leave(reqBody []byte) []byte
- func (svr *TCPServer) Payload(reqBody []byte) []byte
- func (svr *TCPServer) SendJoin(sendToBody []byte) []byte
- func (svr *TCPServer) SendLeave(sendToBody []byte) []byte
- func (svr *TCPServer) SendPayload(sendToBody []byte) []byte
- func (svr *TCPServer) Start(connection_string string)
- func (svr *TCPServer) Stats() []byte
Constants ¶
This section is empty.
Variables ¶
View Source
var (
TcpServerHalt = false
)
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { Server *TCPServer Store raft_fsm.StoreHandle }
type TCPServer ¶
type TCPServer struct {
// contains filtered or unexported fields
}
func (*TCPServer) SendPayload ¶
Click to show internal directories.
Click to hide internal directories.