Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Fingerprint fingerprint.Fingerprint `json:"fingerprint"` Connections []*util.Connection `json:"connections"` }
Entry type of returned data
type RPC ¶
type RPC interface { Set(fingerprint.Fingerprint, []byte) error Add([]byte, []byte, uint64) bool Expire() IsInitialised() bool Fetch(start uint64, count int) ([]Entry, uint64, error) Self() []byte ID() fingerprint.Fingerprint }
RPC - interface for RPC operations
Click to show internal directories.
Click to hide internal directories.