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