package
0.0.5
Repository: https://github.com/sllt/magpie.git
Documentation: pkg.go.dev

# Functions

New returns a new cluster given a Config.
NewActivationConfig returns a new default config.
No description provided by the author
NewCID returns a new Cluster ID.
NewConfig returns a Config that is initialized with default values.
NewKindConfig returns a default kind configuration.
No description provided by the author
No description provided by the author
No description provided by the author
SelectRandomMember selects a random member of the cluster.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
ActivationConfig...
ActivationDetails holds detailed information about an activation.
ActivationEvent gets triggered each time a new actor is activated somewhere on the cluster.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Agent is an actor/receiver that is responsible for managing the state of the cluster.
No description provided by the author
Cluster allows you to write distributed actors.
Config holds the cluster configuration.
No description provided by the author
DeactivationEvent gets triggered each time an actor gets deactivated somewhere on the cluster.
No description provided by the author
KindConfig holds configuration for a registered kind.
No description provided by the author
MemberAddr represents a reachable node in the cluster.
MemberJoinEvent gets triggered each time a new member enters the cluster.
MemberLeaveEvent gets triggered each time a member leaves the cluster.
No description provided by the author
No description provided by the author
TODO: Deprecated.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

Producer is a function that produces an actor.Producer given a *cluster.Cluster.
SelectMemberFunc will be invoked during the activation process.