libp2pquic

package module
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: MIT Imports: 6 Imported by: 68

README

DEPRECATION NOTICE

This package has moved into go-libp2p as a sub-package, github.com/libp2p/go-libp2p/p2p/transport/quic.

go-libp2p-quic-transport

Godoc Reference Linux Build Status Code Coverage Discourse posts

go-libp2p-quic-transport uses quic-go to provide QUIC support for libp2p.

Install

go-libp2p-quic-transport is a standard Go module which can be installed with:

go get github.com/libp2p/go-libp2p-quic-transport

This repo is gomod-compatible, and users of Go 1.11 and later with modules enabled will automatically pull the latest tagged release by referencing this package. Upgrades to future releases can be managed using go get, or by editing your go.mod file as described by the gomod documentation.

Contribute

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

This repository falls under the libp2p Code of Conduct.

Want to hack on libp2p?

Documentation

Overview

Deprecated: This package has moved into go-libp2p as a sub-package: github.com/libp2p/go-libp2p/p2p/transport/quic.

Index

Constants

This section is empty.

Variables

View Source
var ErrHolePunching = libp2pquic.ErrHolePunching

Deprecated: use github.com/libp2p/go-libp2p/p2p/transport/quic.ErrHolePunching instead.

View Source
var HolePunchTimeout = libp2pquic.HolePunchTimeout

Deprecated: use github.com/libp2p/go-libp2p/p2p/transport/quic.HolePunchTimeout instead.

Functions

func NewTransport

func NewTransport(key ic.PrivKey, psk pnet.PSK, gater connmgr.ConnectionGater, rcmgr network.ResourceManager) (tpt.Transport, error)

NewTransport creates a new QUIC transport Deprecated: use github.com/libp2p/go-libp2p/p2p/transport/quic.NewTransport instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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