Documentation ¶
Index ¶
- func ConfigureHTTP3(config aTLS.ServerConfig) error
- func CreateTransport(conn net.PacketConn, quicConnPtr *quic.EarlyConnection, serverAddr M.Socksaddr, ...) (http.RoundTripper, error)
- func Dial(ctx context.Context, conn net.PacketConn, addr net.Addr, config aTLS.Config, ...) (quic.Connection, error)
- func DialEarly(ctx context.Context, conn net.PacketConn, addr net.Addr, config aTLS.Config, ...) (quic.EarlyConnection, error)
- type QUICConfig
- type QUICEarlyListener
- type QUICListener
- type QUICServerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureHTTP3 ¶
func ConfigureHTTP3(config aTLS.ServerConfig) error
func CreateTransport ¶
func CreateTransport(conn net.PacketConn, quicConnPtr *quic.EarlyConnection, serverAddr M.Socksaddr, config aTLS.Config, quicConfig *quic.Config, enableDatagrams bool) (http.RoundTripper, error)
Types ¶
type QUICConfig ¶
type QUICConfig interface { Dial(ctx context.Context, conn net.PacketConn, addr net.Addr, config *quic.Config) (quic.Connection, error) DialEarly(ctx context.Context, conn net.PacketConn, addr net.Addr, config *quic.Config) (quic.EarlyConnection, error) CreateTransport(conn net.PacketConn, quicConnPtr *quic.EarlyConnection, serverAddr M.Socksaddr, quicConfig *quic.Config, enableDatagrams bool) http.RoundTripper }
type QUICEarlyListener ¶
type QUICEarlyListener interface { Accept(ctx context.Context) (quic.EarlyConnection, error) Close() error Addr() net.Addr }
func ListenEarly ¶
func ListenEarly(conn net.PacketConn, config aTLS.ServerConfig, quicConfig *quic.Config) (QUICEarlyListener, error)
type QUICListener ¶
type QUICListener interface { Accept(ctx context.Context) (quic.Connection, error) Close() error Addr() net.Addr }
func Listen ¶
func Listen(conn net.PacketConn, config aTLS.ServerConfig, quicConfig *quic.Config) (QUICListener, error)
type QUICServerConfig ¶
type QUICServerConfig interface { Listen(conn net.PacketConn, config *quic.Config) (QUICListener, error) ListenEarly(conn net.PacketConn, config *quic.Config) (QUICEarlyListener, error) ConfigureHTTP3() }
Click to show internal directories.
Click to hide internal directories.