Documentation ¶
Index ¶
- Constants
- Variables
- type Address
- type ChordNode
- func (n *ChordNode) Create()
- func (n *ChordNode) Delete(key string) bool
- func (n *ChordNode) ForceQuit()
- func (n *ChordNode) Get(key string) (bool, string)
- func (n *ChordNode) Initialize(addr string)
- func (n *ChordNode) Join(addr string) bool
- func (n *ChordNode) Ping(addr string) bool
- func (n *ChordNode) Put(key, value string) bool
- func (n *ChordNode) Quit()
- func (n *ChordNode) Run()
- type DataPair
- type FilterType
- type Identifer
- type KeyType
- type StoreType
- type ValueType
Constants ¶
View Source
const ( NIL = "" M = 160 )
Variables ¶
View Source
var (
RingSize = pow2(M)
)
Functions ¶
This section is empty.
Types ¶
type ChordNode ¶
type ChordNode struct {
// contains filtered or unexported fields
}
func (*ChordNode) Initialize ¶
type FilterType ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.