Documentation
¶
Index ¶
- func ExclusiveBetween(left, id, right *big.Int) bool
- func FingerEntry(start string, fingerentry int) *big.Int
- func GetAddress() string
- func Hash(in string) *big.Int
- func InclusiveBetween(left, id, right *big.Int) bool
- func RPCFindSuccessor(addr string, id *big.Int) (string, error)
- func RPCGetPredecessor(addr string) (string, error)
- func RPCHealthCheck(addr string) (bool, error)
- func RPCNotify(addr, notice string) error
- type Node
- func (n *Node) Delete(key string, response *bool) error
- func (n *Node) FindSuccessor(id *big.Int, successor *string) error
- func (n *Node) Get(key string, response *string) error
- func (n *Node) GetPredecessor(none bool, addr *string) error
- func (n *Node) Notify(addr string, response *bool) error
- func (n *Node) Ping(one int, two *int) error
- func (n *Node) Put(args PutArgs, success *bool) error
- type PutArgs
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExclusiveBetween ¶
inclusive id ε (left, right)
func GetAddress ¶
func GetAddress() string
func InclusiveBetween ¶
inclusive id ε (left, right]
func RPCGetPredecessor ¶
func RPCHealthCheck ¶
Types ¶
type Node ¶
Click to show internal directories.
Click to hide internal directories.