Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrKeyNotFound = errors.New("bolt: key not found")
Functions ¶
func NewSnapshotHelper ¶
func NewSnapshotHelper(r io.ReadCloser, eg *errgroup.Group, ctx context.Context, cancel context.CancelFunc) raft.FSMSnapshot
Types ¶
type SnapshotHelper ¶
type SnapshotHelper struct {
// contains filtered or unexported fields
}
func (*SnapshotHelper) Persist ¶
func (s *SnapshotHelper) Persist(sink raft.SnapshotSink) error
func (*SnapshotHelper) Release ¶
func (s *SnapshotHelper) Release()
Click to show internal directories.
Click to hide internal directories.