cluster

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithRemote added in v1.0.1

func WithRemote(ectd_addr, prefix string) actor.SystemOption

Types

type Cluster

type Cluster struct {
	actor.Base
	// contains filtered or unexported fields
}

func (*Cluster) OnHandleEvent added in v1.0.2

func (c *Cluster) OnHandleEvent(event interface{})

func (*Cluster) OnHandleMessage added in v1.0.2

func (c *Cluster) OnHandleMessage(sourceId, targetId string, msg interface{})

func (*Cluster) OnHandleRequest added in v1.0.2

func (c *Cluster) OnHandleRequest(sourceId, targetId, requestId string, msg interface{}) (respErr error)

func (*Cluster) OnInit added in v1.0.2

func (c *Cluster) OnInit()

func (*Cluster) OnStop added in v1.0.2

func (c *Cluster) OnStop() (immediatelyStop bool)

type IRemoteProvider

type IRemoteProvider interface {
	Start(actorSystem *actor.System) error
	Stop()
	NewClient(host string)
	StopClient(host string)

	Send(addr string, sourceId, targetId, requestId string, actMsg proto.Message) error
}

type IServiceMeshProvider

type IServiceMeshProvider interface {
	Start(actorSystem *actor.System) error
	Stop()
	RegistService(key string, value string) error
}

Directories

Path Synopsis
remote_provider
servmesh_provider

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL