hraft

package
v0.0.0-...-719f63a Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TombstoneTTL time.Duration = 15 * time.Minute
View Source
var TombstoneTTLGranularity time.Duration = 30 * time.Second

Functions

func New

func New(nodeID raft.ServerID, bind string, bootstrap bool) (*hraft, error)

Types

type Config

type Config struct {
	DevMode   bool
	Bootstrap bool
	LogOutput io.Writer
	LogLevel  string
}

Jump to

Keyboard shortcuts

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