raft

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RaftConfig

type RaftConfig struct {
	Path                string        `json:"path,omitempty"`
	RetainSnapshotCount int           `json:"retain_snapshot_count,omitempty"`
	Timeout             time.Duration `json:"timeout,omitempty"`
	Config              *raft.Config  `json:"config,omitempty"`
}

func DefaultConfig

func DefaultConfig() *RaftConfig

Jump to

Keyboard shortcuts

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