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

Method State

lib/raft/raft_impl.go:14–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12}
13
14func (i *Impl) State() raft.RaftState {
15 return i.m.Raft.State()
16}
17
18func (i *Impl) Peers() ([]string, error) {
19 return i.m.Peers, nil

Callers

nothing calls this directly

Calls 1

StateMethod · 0.65

Tested by

no test coverage detected