Documentation ¶
Index ¶
Constants ¶
View Source
const (
Ticker = 5 // 定时器间隔时间 / s
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllService ¶
type Multi ¶
type Multi struct { Config *config.Config AppId uint32 Node *NodeService Ticker *time.Ticker Stop chan struct{} // contains filtered or unexported fields }
func (*Multi) GlobalRotationEvent ¶
func (s *Multi) GlobalRotationEvent()
func (*Multi) StartMultiServer ¶
type NodeService ¶
type NodeService struct { Addr string // contains filtered or unexported fields }
func (*NodeService) MultiToNodePingReq ¶
func (n *NodeService) MultiToNodePingReq()
func (*NodeService) MultiToNodePingRsp ¶
func (n *NodeService) MultiToNodePingRsp(serviceMsg pb.Message)
func (*NodeService) ServiceConnectionRsp ¶
func (n *NodeService) ServiceConnectionRsp(serviceMsg pb.Message)
Click to show internal directories.
Click to hide internal directories.