Categorygithub.com/xyproto/quic
modulepackage
1.0.1
Repository: https://github.com/xyproto/quic.git
Documentation: pkg.go.dev

# README

QUIC aka. HTTP/3

This is a modified version of quic-go, to make it build with Go 1.11, Go 1.12 and Go 1.13 (not just "Go 1.13+"), and also GCC 9.2 (gcc-go).

Support for "crypto/ed25519" was removed from the TLS 1.3 library, for compatibility with Go 1.11 and gcc-go.

  • Version: 1.0.1
  • License: MIT

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

Dial establishes a new QUIC connection to a server using a net.PacketConn.
DialAddr establishes a new QUIC connection to a server.
DialAddrContext establishes a new QUIC connection to a server using the provided context.
DialContext establishes a new QUIC connection to a server using a net.PacketConn using the provided context.
Listen listens for QUIC connections on a given net.PacketConn.
ListenAddr creates a QUIC server listening on a given address.
ListenAddrEarly works like ListenAddr, but it returns sessions before the handshake completes.
ListenEarly works like Listen, but it returns sessions before the handshake completes.
NewLRUTokenStore creates a new LRU cache for tokens received by the client.

# Structs

A ClientToken is a token received by the client.
Config contains all configuration data needed for a QUIC server or client.
A Token can be used to verify the ownership of the client address.

# Interfaces

An EarlyListener listens for incoming QUIC connections, and returns them before the handshake completes.
An EarlySession is a session that is handshaking.
A Listener for incoming QUIC connections.
A ReceiveStream is a unidirectional Receive Stream.
A SendStream is a unidirectional Send Stream.
A Session is a QUIC connection between two peers.
Stream is the interface implemented by QUIC streams.
StreamError is returned by Read and Write when the peer cancels the stream.
No description provided by the author

# Type aliases

An ErrorCode is an application-defined error code.
The StreamID is the ID of a QUIC stream.
A VersionNumber is a QUIC version number.