Versions in this module Expand all Collapse all v1 v1.0.2 Jan 1, 2019 Changes in this version + const CLUSTER_CLIENT_NET_BREAK + const CLUSTER_CLIENT_SEND_MESSAGE + const CLUSTER_CLIENT_SEND_USER + const CLUSTER_CLIENT_START_ERROR + const CLUSTER_CLIENT_START_SUCCESS type ClusterClient + func NewClusterClient1(raddress *net.TCPAddr) *ClusterClient + type ClusterClientHandleFunc func(*ClusterClient, *message.Message, int) error v1.0.1 Nov 28, 2018 Changes in this version + const END + const RUN + const START + type ClusterClient struct + Raddress string + Status int + func NewClusterClient(host string, port int) *ClusterClient + func NewClusterClient2(addr string) *ClusterClient + func (this *ClusterClient) Live(address []string) (int, error) + func (this *ClusterClient) Start(handler HandlerFunc, messageHandler MessageHandlerFunc, ...) + func (this *ClusterClient) Write(msg []byte) (int, error) + type HandlerFunc func(*ClusterClient, int) + type MessageHandlerFunc func(*ClusterClient, *message.Message, string) error + type SendUserHandlerFunc func(*ClusterClient, string, int)