Documentation
¶
Overview ¶
Package memory provides an in-memory implementation of the cluster.Store interface. This is useful for testing without requiring a real distributed cluster.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store implements cluster.Store with in-memory storage for testing.
func (*Store) Membership ¶
func (s *Store) Membership() cluster.Membership
Membership returns the cluster membership interface.
func (*Store) SetMembers ¶
SetMembers allows tests to configure cluster members.
Click to show internal directories.
Click to hide internal directories.