Documentation ¶
Index ¶
- func WithRemote(ectd_addr, prefix string) actor.SystemOption
- type Cluster
- func (c *Cluster) Address() string
- func (c *Cluster) OnHandleEvent(event interface{})
- func (c *Cluster) OnHandleMessage(sourceId, targetId string, msg interface{})
- func (c *Cluster) OnHandleRequest(sourceId, targetId, requestId string, msg interface{}) (respErr error)
- func (c *Cluster) OnInit()
- func (c *Cluster) OnNewServ(actorId, host string, add bool)
- func (c *Cluster) OnSessionClosed(peerHost string)
- func (c *Cluster) OnSessionOpened(peerHost string)
- func (c *Cluster) OnSessionRecv(sourceId, targetId, requestId string, msg proto.Message)
- func (c *Cluster) OnStop() bool
- type IRemoteProvider
- type IServiceMeshProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithRemote ¶
func WithRemote(ectd_addr, prefix string) actor.SystemOption
Types ¶
type Cluster ¶
func (*Cluster) OnHandleEvent ¶
func (c *Cluster) OnHandleEvent(event interface{})
func (*Cluster) OnHandleMessage ¶
func (*Cluster) OnHandleRequest ¶
func (*Cluster) OnSessionClosed ¶ added in v1.0.4
func (*Cluster) OnSessionOpened ¶ added in v1.0.4
func (*Cluster) OnSessionRecv ¶ added in v1.0.4
type IRemoteProvider ¶
type IRemoteProvider interface { Start(remote_provider.RemoteHandler) error Stop() NewClient(host string) StopClient(host string) SendMsg(addr string, sourceId, targetId, requestId string, msg proto.Message) error }
type IServiceMeshProvider ¶
type IServiceMeshProvider interface { Start(servmesh_provider.ServMeshHander) error Stop() RegisterService(key string, value string) error UnregisterService(key string) error }
Click to show internal directories.
Click to hide internal directories.