Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 480 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 480 Bytes

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.