Versions in this module Expand all Collapse all v0 v0.0.1 Jun 2, 2023 Changes in this version + const VersionGQUIC39 + const VersionGQUIC43 + const VersionGQUIC44 + type Config struct + AcceptCookie func(clientAddr net.Addr, cookie *Cookie) bool + ConnectionIDLength int + HandshakeTimeout time.Duration + IdleTimeout time.Duration + KeepAlive bool + MaxIncomingStreams int + MaxIncomingUniStreams int + MaxReceiveConnectionFlowControlWindow uint64 + MaxReceiveStreamFlowControlWindow uint64 + RequestConnectionIDOmission bool + Versions []VersionNumber + type ConnectionState = handshake.ConnectionState + type Cookie = handshake.Cookie + type ErrorCode = protocol.ApplicationErrorCode + type Listener interface + Accept func() (Session, error) + Addr func() net.Addr + Close func() error + func Listen(conn net.PacketConn, tlsConf *tls.Config, config *Config) (Listener, error) + func ListenAddr(addr string, tlsConf *tls.Config, config *Config) (Listener, error) + type ReceiveStream interface + CancelRead func(ErrorCode) error + SetReadDeadline func(t time.Time) error + StreamID func() StreamID + type SendStream interface + CancelWrite func(ErrorCode) error + Context func() context.Context + SetWriteDeadline func(t time.Time) error + StreamID func() StreamID + type Session interface + AcceptStream func() (Stream, error) + AcceptUniStream func() (ReceiveStream, error) + CloseWithError func(ErrorCode, error) error + ConnectionState func() ConnectionState + Context func() context.Context + LocalAddr func() net.Addr + OpenStream func() (Stream, error) + OpenStreamSync func() (Stream, error) + OpenUniStream func() (SendStream, error) + OpenUniStreamSync func() (SendStream, error) + RemoteAddr func() net.Addr + func Dial(pconn net.PacketConn, remoteAddr net.Addr, host string, tlsConf *tls.Config, ...) (Session, error) + func DialAddr(addr string, tlsConf *tls.Config, config *Config) (Session, error) + func DialAddrContext(ctx context.Context, addr string, tlsConf *tls.Config, config *Config) (Session, error) + func DialContext(ctx context.Context, pconn net.PacketConn, remoteAddr net.Addr, host string, ...) (Session, error) + type Stream interface + CancelRead func(ErrorCode) error + CancelWrite func(ErrorCode) error + Context func() context.Context + SetDeadline func(t time.Time) error + SetReadDeadline func(t time.Time) error + SetWriteDeadline func(t time.Time) error + StreamID func() StreamID + type StreamError interface + Canceled func() bool + ErrorCode func() ErrorCode + type StreamID = protocol.StreamID + type VersionNumber = protocol.VersionNumber