mirror of
https://github.com/libp2p/go-libp2p-peerstore.git
synced 2026-08-18 14:53:28 +08:00
12 lines
307 B
Go
12 lines
307 B
Go
package pstoremem
|
|
|
|
import (
|
|
pstore "github.com/libp2p/go-libp2p/core/peerstore"
|
|
"github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoremem"
|
|
)
|
|
|
|
// Deprecated: use github.com/libp2p/go-libp2p/p2p/host/peerstore/pstoremem.NewKeyBook instead
|
|
func NewKeyBook() pstore.KeyBook {
|
|
return pstoremem.NewKeyBook()
|
|
}
|