Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TestRaftHelper ¶ added in v0.10.1
TestRaftHelper contains utilities for testing Raft functionality.
func NewTestRaftNode ¶ added in v0.10.1
func NewTestRaftNode(t *testing.T) (*TestRaftHelper, error)
NewTestRaftNode creates a Raft node for testing purposes.
func (*TestRaftHelper) Cleanup ¶ added in v0.10.1
func (h *TestRaftHelper) Cleanup() error
Cleanup removes temporary files and shuts down the Raft node.
Click to show internal directories.
Click to hide internal directories.