MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / State

Method State

lib/raft/raft_interface.go:7–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5// Interface is the interface that must be implemented by a raft server.
6type Interface interface {
7 State() raft.RaftState
8 Peers() ([]string, error)
9 Close() error
10 IsLeader() bool

Callers 3

StateMethod · 0.65
IsLeaderMethod · 0.65
IsCandidateMethod · 0.65

Implementers 1

Impllib/raft/raft_impl.go

Calls

no outgoing calls

Tested by

no test coverage detected