quicconn

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

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

Go to latest
Published: Dec 4, 2019 License: MIT Imports: 5 Imported by: 12

README

A QUIC Connection

Godoc Reference Linux Build Status Code Coverage

At the moment, this project is intended to figure out the right API exposed by the quic package in quic-go.

When fully implemented, a QUIC connection can be used as a replacement for an encrypted TCP connection. It provides a single ordered byte-stream abstraction, with the main benefit of being able to perform connection migration.

Usage of the example

Start listening for an incoming QUIC connection

go run example/main.go -s

The server will echo every message received on the connection in uppercase.

Send a message on the QUIC connection:

go run example/main.go -c

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dial

func Dial(addr string, tlsConfig *tls.Config) (net.Conn, error)

Dial creates a new QUIC connection it returns once the connection is established and secured with forward-secure keys

func Listen

func Listen(network, laddr string, tlsConfig *tls.Config) (net.Listener, error)

Listen creates a QUIC listener on the given network interface

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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