replica

package
v0.0.0-...-908ee96 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientLoop

func ClientLoop(db *db.Database, leader string)

ClientLoop continuously downloads new keys from the master and applies them.

Types

type NextKeyValue

type NextKeyValue struct {
	Key   string
	Value string
	Err   error
}

NextKeyValue contains the response for GetNextKeyForReplication.

Jump to

Keyboard shortcuts

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