Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface { Close() error Register(p peer.ID, ns string, signedPeerRecord []byte, ttl int) (uint64, error) Unregister(p peer.ID, ns string) error CountRegistrations(p peer.ID) (int, error) Discover(ns string, cookie []byte, limit int) ([]RegistrationRecord, []byte, error) ValidCookie(ns string, cookie []byte) bool }
Click to show internal directories.
Click to hide internal directories.