Skip to content

Latest commit

 

History

History

example-utls

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.