Documentation ¶
Index ¶
- func WithRemote(etcdAddr, prefix string) actor.SystemOption
- type Cluster
- func (c *Cluster) OnEventClusterUpdate(event internal.EvClusterUpdate)
- func (c *Cluster) OnEventDelActor(ev event.EvDelActor)
- func (c *Cluster) OnEventNewActor(event internal.EvNewLocalActor)
- func (c *Cluster) OnEventSessionClosed(ev internal.EvSessionClosed)
- func (c *Cluster) OnEventSessionOpened(ev internal.EvSessionOpened)
- func (c *Cluster) OnHandle(msg actor.Message)
- 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(msg *innermsg.ActorMessage)
- func (c *Cluster) OnStop() bool
- type RemoteProvider
- type ServiceMeshProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithRemote ¶
func WithRemote(etcdAddr, prefix string) actor.SystemOption
Types ¶
type Cluster ¶
func (*Cluster) OnEventClusterUpdate ¶
func (c *Cluster) OnEventClusterUpdate(event internal.EvClusterUpdate)
func (*Cluster) OnEventDelActor ¶
func (c *Cluster) OnEventDelActor(ev event.EvDelActor)
func (*Cluster) OnEventNewActor ¶
func (c *Cluster) OnEventNewActor(event internal.EvNewLocalActor)
func (*Cluster) OnEventSessionClosed ¶
func (c *Cluster) OnEventSessionClosed(ev internal.EvSessionClosed)
func (*Cluster) OnEventSessionOpened ¶
func (c *Cluster) OnEventSessionOpened(ev internal.EvSessionOpened)
func (*Cluster) OnSessionClosed ¶
func (*Cluster) OnSessionOpened ¶
func (*Cluster) OnSessionRecv ¶
func (c *Cluster) OnSessionRecv(msg *innermsg.ActorMessage)
type RemoteProvider ¶
Click to show internal directories.
Click to hide internal directories.