peer

package module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2019 License: MIT Imports: 2 Imported by: 801

README

go-libp2p-peer

GoDoc Coverage Status Build Status Discourse posts

PKI based identities for use in go-libp2p

Install

TODO

Usage

TODO

Contribute

Feel free to join in. All welcome. Open an issue!

This repository falls under the IPFS Code of Conduct.

Want to hack on IPFS?

License

MIT


The last gx published version of this module was: 3.1.2: QmYVXrKrKHDC9FobgmcmshCDyWwdrfwfanNQN4oxJ9Fk3h

Documentation

Overview

Deprecated: use github.com/libp2p/go-libp2p-core/peer instead.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Deprecated: use github.com/libp2p/go-libp2p-core/peer.ErrEmptyPeerID instead.
	ErrEmptyPeerID = core.ErrEmptyPeerID
	// Deprecated: use github.com/libp2p/go-libp2p-core/peer.ErrNoPublicKey instead.
	ErrNoPublicKey = core.ErrNoPublicKey
)
View Source
var AdvancedEnableInlining = core.AdvancedEnableInlining

Deprecated: use github.com/libp2p/go-libp2p-core/peer.AdvanceEnableInlining instead. Warning: this variable's type makes it impossible to alias by reference. Reads and writes from/to this variable may be inaccurate or not have the intended effect.

Functions

func IDB58Decode deprecated

func IDB58Decode(s string) (core.ID, error)

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDB58Decode instead.

func IDB58Encode deprecated

func IDB58Encode(id ID) string

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDB58Encode instead.

func IDFromBytes deprecated

func IDFromBytes(b []byte) (core.ID, error)

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDFromBytes instead.

func IDFromPrivateKey deprecated

func IDFromPrivateKey(sk ic.PrivKey) (core.ID, error)

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDFromPrivateKey instead.

func IDFromPublicKey deprecated

func IDFromPublicKey(pk ic.PubKey) (core.ID, error)

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDFromPublicKey instead.

func IDFromString deprecated

func IDFromString(s string) (core.ID, error)

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDFromString instead.

func IDHexDecode deprecated

func IDHexDecode(s string) (core.ID, error)

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDHexDecode instead.

func IDHexEncode deprecated

func IDHexEncode(id ID) string

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDHexEncode instead.

Types

type ID deprecated

type ID = core.ID

Deprecated: use github.com/libp2p/go-libp2p-core/peer.ID instead.

type IDSlice deprecated

type IDSlice = core.IDSlice

Deprecated: use github.com/libp2p/go-libp2p-core/peer.IDSlice instead.

Directories

Path Synopsis
Deprecated: use github.com/libp2p/go-libp2p-core/peer/set instead.
Deprecated: use github.com/libp2p/go-libp2p-core/peer/set instead.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL