Documentation ¶
Index ¶
- Variables
- type Store
- func (s *Store) Delete(key string) error
- func (s *Store) Get(key string) (int, error)
- func (s *Store) Join(nodeID, addr string) error
- func (s *Store) Leave(nodeID string) error
- func (s *Store) Open(bootstrap bool, localID string) error
- func (s *Store) Set(key, value string) error
- func (s *Store) Snapshot() error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotLeader error = errors.New("not leader")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.