rafthandler

package
v0.0.0-...-eac5ac8 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler struct handler

func New

func New(raft *raft.Raft) *Handler

func (Handler) GetRaft

func (h Handler) GetRaft() *raft.Raft

func (Handler) Join

func (h Handler) Join(port int, nodeId string) error

Join handling join raft

Jump to

Keyboard shortcuts

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