Categorygithub.com/smallnest/quick
modulepackage
0.2.0
Repository: https://github.com/smallnest/quick.git
Documentation: pkg.go.dev

# README

a net.Conn compatible lib via QUIC

The initial code is cloned from quic-conn, but I refactored and updated codes to keepcompatible with latest https://github.com/lucas-clemente/quic-go.

Run 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

# Packages

No description provided by the author

# Functions

Dial creates a new QUIC connection it returns once the connection is established and secured with forward-secure keys.
DialContext creates a new QUIC connection with a context.
Listen creates a QUIC listener on the given network interface.

# Structs

Conn is a generic quic connection implements net.Conn.