cherryCluster

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: MIT Imports: 11 Imported by: 7

Documentation

Index

Constants

View Source
const (
	Name = "cluster_component"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Component added in v1.1.1

type Component struct {
	cfacade.Component
	// contains filtered or unexported fields
}

func New added in v1.3.0

func New() *Component

func (*Component) GetLocalSubject added in v1.5.0

func (p *Component) GetLocalSubject(prefix, nodeType, nodeID string) string

func (*Component) GetRemoteSubject added in v1.5.0

func (p *Component) GetRemoteSubject(prefix, nodeType, nodeID string) string

GetRemoteSubject remote message nats chan

func (*Component) GetRemoteTypeSubject added in v1.5.0

func (p *Component) GetRemoteTypeSubject(prefix, nodeType string) string

func (*Component) GetReplySubject added in v1.5.0

func (p *Component) GetReplySubject(prefix, nodeType, nodeID string) string

func (*Component) Init added in v1.1.5

func (p *Component) Init()

func (*Component) Mode added in v1.5.0

func (*Component) Mode() string

func (*Component) Name added in v1.1.5

func (*Component) Name() string

func (*Component) OnStop added in v1.1.5

func (p *Component) OnStop()

func (*Component) PublishLocal added in v1.5.0

func (p *Component) PublishLocal(nodeID string, cpacket *cproto.ClusterPacket) error

func (*Component) PublishRemote added in v1.5.0

func (p *Component) PublishRemote(nodeID string, cpacket *cproto.ClusterPacket) error

func (*Component) PublishRemoteType added in v1.5.0

func (p *Component) PublishRemoteType(nodeType string, cpacket *cproto.ClusterPacket) error

func (*Component) RequestRemote added in v1.5.0

func (p *Component) RequestRemote(nodeID string, cpacket *cproto.ClusterPacket, timeout ...time.Duration) ([]byte, int32)

Jump to

Keyboard shortcuts

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