Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Receptor ¶
type Receptor interface { Add([]byte, []byte, uint64) bool SetSelf([]byte, []byte) error Next([]byte) ([]byte, []byte, time.Time, error) Random([]byte) ([]byte, []byte, time.Time, error) ReBalance() UpdateTime([]byte, time.Time) IsChanged() bool Change(bool) IsInitialised() bool Connectable() *avl.Tree ID() id.ID Self() *avl.Node SelfListener() []byte Expire() }
Receptor - interface for receptor operations
type StoreEntity ¶
func (StoreEntity) MarshalText ¶
func (e StoreEntity) MarshalText() ([]byte, error)
MarshalText is the json marshal function for PeerItem
func (*StoreEntity) UnmarshalText ¶
func (e *StoreEntity) UnmarshalText(data []byte) error
UnmarshalText is the json unmarshal function for PeerItem
Click to show internal directories.
Click to hide internal directories.