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

Struct Impl

lib/raft/raft_impl.go:10–12  ·  view source on GitHub ↗

Impl is the interface that must be implemented by a raft server.

Source from the content-addressed store, hash-verified

8
9// Impl is the interface that must be implemented by a raft server.
10type Impl struct {
11 m Master
12}
13
14func (i *Impl) State() raft.RaftState {
15 return i.m.Raft.State()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected