Documentation ¶
Index ¶
- type Store
- func (s *Store) Delete(key string) error
- func (s *Store) Get(key string) (string, error)
- func (s *Store) IsLeader() bool
- func (s *Store) Join(nodeID, nodeAddress string) error
- func (s *Store) LeadershipTransfer() error
- func (s *Store) Nodes() ([]raft.Server, error)
- func (s *Store) Set(key, value string) error
- func (s *Store) Start(id string, bootstrap bool) error
- func (s *Store) Stop() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.