etcdreg

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewActorRegistry

func NewActorRegistry(log *slog.Logger, rs *rpc.State, ec *clientv3.Client) rpc.ActorRegistry

Types

type ActorRegistry

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

func (*ActorRegistry) Client

func (r *ActorRegistry) Client(ctx context.Context, name string) (rpc.Client, error)

func (*ActorRegistry) Close

func (r *ActorRegistry) Close(ctx context.Context) error

func (*ActorRegistry) Register

func (r *ActorRegistry) Register(ctx context.Context, name string, iface *rpc.Interface) error

type ActorStater

type ActorStater interface {
	ActorState() any
}

Jump to

Keyboard shortcuts

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