core

package module
v0.0.0-...-6c532cc Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

README

go-libp2p-core

介绍

hercules 链 libp2p 网络核心模块

软件架构

软件架构说明

安装教程
  1. xxxx
  2. xxxx
  3. xxxx
使用说明
  1. xxxx
  2. xxxx
  3. xxxx
参与贡献
  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request
特技
  1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
  2. Gitee 官方博客 blog.gitee.com
  3. 你可以 https://gitee.com/explore 这个地址来了解 Gitee 上的优秀开源项目
  4. GVP 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
  5. Gitee 官方提供的使用手册 https://gitee.com/help
  6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 https://gitee.com/gitee-stars/

Documentation

Overview

Package core provides convenient access to foundational, central go-libp2p primitives via type aliases.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn = network.Conn

Conn aliases network.Conn.

Refer to the docs on that type for more info.

type Host

type Host = host.Host

Host aliases host.Host.

Refer to the docs on that type for more info.

type Multiaddr

type Multiaddr = multiaddr.Multiaddr

Multiaddr aliases the Multiaddr type from github.com/multiformats/go-multiaddr.

Refer to the docs on that type for more info.

type Network

type Network = network.Network

Network aliases network.Network.

Refer to the docs on that type for more info.

type PeerAddrInfo

type PeerAddrInfo = peer.AddrInfo

PeerAddrInfo aliases peer.AddrInfo.

Refer to the docs on that type for more info.

type PeerID

type PeerID = peer.ID

PeerID aliases peer.ID.

Refer to the docs on that type for more info.

type ProtocolID

type ProtocolID = protocol.ID

PeerID aliases protocol.ID.

Refer to the docs on that type for more info.

type Stream

type Stream = network.Stream

Stream aliases network.Stream.

Refer to the docs on that type for more info.

Directories

Path Synopsis
Package connmgr provides connection tracking and management interfaces for libp2p.
Package connmgr provides connection tracking and management interfaces for libp2p.
Package crypto implements various cryptographic utilities used by libp2p.
Package crypto implements various cryptographic utilities used by libp2p.
pb
Package discovery provides service advertisement and peer discovery interfaces for libp2p.
Package discovery provides service advertisement and peer discovery interfaces for libp2p.
Package event contains the abstractions for a local event bus, along with the standard events that libp2p subsystems may emit.
Package event contains the abstractions for a local event bus, along with the standard events that libp2p subsystems may emit.
Package host provides the core Host interface for libp2p.
Package host provides the core Host interface for libp2p.
Package introspection is EXPERIMENTAL.
Package introspection is EXPERIMENTAL.
pb
Package introspection/pb contains the protobuf definitions and objects for that form the libp2p introspection protocol.
Package introspection/pb contains the protobuf definitions and objects for that form the libp2p introspection protocol.
Package metrics provides metrics collection and reporting interfaces for libp2p.
Package metrics provides metrics collection and reporting interfaces for libp2p.
Package mux provides stream multiplexing interfaces for libp2p.
Package mux provides stream multiplexing interfaces for libp2p.
Package network provides core networking abstractions for libp2p.
Package network provides core networking abstractions for libp2p.
Package peer implements an object used to represent peers in the libp2p network.
Package peer implements an object used to represent peers in the libp2p network.
pb
Package peerstore provides types and interfaces for local storage of address information, metadata, and public key material about libp2p peers.
Package peerstore provides types and interfaces for local storage of address information, metadata, and public key material about libp2p peers.
Package pnet provides interfaces for private networking in libp2p.
Package pnet provides interfaces for private networking in libp2p.
Package protocol provides core interfaces for protocol routing and negotiation in libp2p.
Package protocol provides core interfaces for protocol routing and negotiation in libp2p.
pb
Package routing provides interfaces for peer routing and content routing in libp2p.
Package routing provides interfaces for peer routing and content routing in libp2p.
sec
Package sec provides secure connection and transport interfaces for libp2p.
Package sec provides secure connection and transport interfaces for libp2p.
insecure
Package insecure provides an insecure, unencrypted implementation of the the SecureConn and SecureTransport interfaces.
Package insecure provides an insecure, unencrypted implementation of the the SecureConn and SecureTransport interfaces.
Package transport provides the Transport interface, which represents the devices and network protocols used to send and receive data.
Package transport provides the Transport interface, which represents the devices and network protocols used to send and receive data.

Jump to

Keyboard shortcuts

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