Categorygithub.com/jbvmio/mlc
modulepackage
0.0.0-20221215182252-d69fcf69b8ae
Repository: https://github.com/jbvmio/mlc.git
Documentation: pkg.go.dev

# README

MLC - Memberlist Cluster

Simple Clustering for your Application

Current Features:

  • Provides simple Leader / Follower functionality
  • Leader Elections
  • Automated Tasks based on Execution stages

mlc is currently under development. Thus, ongoing optimization and re-factoring may occur.

# Functions

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

# Constants

On initial 1 node cluster start.
Follower Tasks when joining the cluster.
During an election, Follower Tasks when not promoted to Leader befere running FollowerOnNewLeader Tasks.
Follower Tasks when leaving the cluster.
During an election, Follower Tasks when a new Leader has been elected.
During an election, Follower Tasks when promoted to Leader before running LeaderOnJoin Tasks.
Newly elected Leader Tasks during an election.
Current Leader Tasks when leaving the cluster.
OnDemand Tasks, envoked via RunOnDemand or RunTask.
No description provided by the author

# Variables

No description provided by the author

# Structs

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

# Interfaces

ClusterFuncs are functions available for Tasks.
No description provided by the author
No description provided by the author

# Type aliases

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