Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeerIDStore ¶
type PeerIDStore struct {
// contains filtered or unexported fields
}
PeerIDStore is used to store/load peers to/from disk.
func NewPeerIDStore ¶
func NewPeerIDStore(ctx context.Context, ds datastore.Datastore) (*PeerIDStore, error)
NewPeerIDStore creates a new peer ID store backed by the given datastore.
Click to show internal directories.
Click to hide internal directories.