command
module
Version:
v0.0.0-...-769e7fa
Opens a new window with list of versions in this module.
Published: Mar 3, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Example using refraction-networking/utls
This example shows how you can use this library to combine net/http
and
refraction-networking/utls
into the same product.
-
http.go shows how to interface this library with net/http
so
the rest of your codebase uses net/http
;
-
tls.go shows how to wrap utls.UConn
to be compatible with
the TLSConn
interface defined by this library;
-
main.go is the rest of the codebase using net/http
.
The strategy we're using here is to override DialTLSContext
to force
using our own TLS dialer that uses uTLS (this is what OONI does).
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.