Documentation ¶
Index ¶
- func InitMASQUE(auth *auth.Auth, port int, handler ugate.ConHandler, conPool ugate.MuxConPool) error
- func InitQuicClient(h2 *auth.Auth, destHost string) *http.Client
- func InitQuicServer(h2 *auth.Auth, port int, handler http.Handler) error
- func InitQuicServerConn(auth *auth.Auth, port int, conn net.PacketConn, handler http.Handler) error
- func RoundTripper(h2 *auth.Auth) http.RoundTripper
- type UGateCon
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitMASQUE ¶
func InitMASQUE(auth *auth.Auth, port int, handler ugate.ConHandler, conPool ugate.MuxConPool) error
InitMASQUE will eventually support the MASQUE protocol, multiplexing proxy protocols over H3.
However using a dedicated port achieves the same result.
func InitQuicClient ¶
InitQuicClient will configure h2.QuicClient as mtls using the h2 private key QUIC_GO_LOG_LEVEL
func InitQuicServer ¶
InitQuicServer starts a regular QUIC server, bound to a port, using the H2 certificates.
func InitQuicServerConn ¶
InitQuicServerConn starts a QUIC server, using H2 certs, on a connection.
func RoundTripper ¶
func RoundTripper(h2 *auth.Auth) http.RoundTripper
Types ¶
type UGateCon ¶
type UGateCon struct {
// contains filtered or unexported fields
}
func (*UGateCon) DialContext ¶
func (*UGateCon) ReceiveMessage ¶
func (*UGateCon) SendMessage ¶
Click to show internal directories.
Click to hide internal directories.