mesh

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterNode

type ClusterNode struct {
	ID       string
	Endpoint string
	Region   string
	Status   string // "online", "offline"
	Filters  []string
}

type Router

type Router struct {
	// contains filtered or unexported fields
}

Router handles inter-cluster message routing for the Hermod Mesh.

func NewRouter

func NewRouter(logger hermod.Logger) *Router

func (*Router) PushFilter

func (r *Router) PushFilter(clusterID string, filter string)

func (*Router) RegisterCluster

func (r *Router) RegisterCluster(id, endpoint, region string)

func (*Router) RouteMessage

func (r *Router) RouteMessage(ctx context.Context, targetClusterID string, msg hermod.Message) error

Jump to

Keyboard shortcuts

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