package
2.0.4
Repository: https://github.com/rstudio/platform-lib.git
Documentation: pkg.go.dev

# README

pkg/rselection

A lightweight leader election library intended for use with rsnotify. Provides an implementation for Postgresql (using pgx). Also provides an implementation for single-node use where we assume the single node is always the leader.

Provides interfaces for scheduled and persistent tasks that are run on an active leader node.

# Packages

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

# Functions

No description provided by the author

# Constants

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
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
A TaskHandler runs in the context of a Leader Loop.