Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GacheSnapshot ¶
type GacheSnapshot struct {
// contains filtered or unexported fields
}
func (*GacheSnapshot) Persist ¶
func (m *GacheSnapshot) Persist(sink raft.SnapshotSink) error
func (*GacheSnapshot) Release ¶
func (m *GacheSnapshot) Release()
type RaftReplication ¶
type RaftReplication struct {
// contains filtered or unexported fields
}
func (*RaftReplication) Apply ¶
func (r *RaftReplication) Apply(cmd []byte, timeout time.Duration) error
func (*RaftReplication) Join ¶
func (r *RaftReplication) Join(addr string) error
func (*RaftReplication) Listen ¶
func (r *RaftReplication) Listen(listener func(bool))
func (*RaftReplication) Shutdown ¶
func (r *RaftReplication) Shutdown() error
Click to show internal directories.
Click to hide internal directories.