Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyResponse ¶
type ApplyResponse struct { Error error Data interface{} }
func NewApplyErr ¶
func NewApplyErr(err error) *ApplyResponse
type CommandPayload ¶
type FSMSnapshot ¶
type FSMSnapshot struct {
// contains filtered or unexported fields
}
func (*FSMSnapshot) Persist ¶
func (f *FSMSnapshot) Persist(sink raft.SnapshotSink) error
func (*FSMSnapshot) Release ¶
func (f *FSMSnapshot) Release()
type RaftFSM ¶
func NewRaftFSM ¶
Click to show internal directories.
Click to hide internal directories.