libp2pmpquic

package module
v0.0.0-...-c0223e7 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2023 License: MIT Imports: 24 Imported by: 0

README

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-mpquic-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?

go-libp2p-mpquic-transport

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrHolePunching = errors.New("hole punching attempted; no active dial")
View Source
var HolePunchTimeout = 5 * time.Second

Functions

func NewTransport

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

NewTransport creates a new QUIC transport

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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