The following examples are in this directory:
- simpleclient - A simple Tor client for connecting to the web or other onion services
- simpleserver - Hosting simple "hello world" Tor onion service
- embeddedversion - Example showing how to dump the version of Tor embedded in the binary
- embeddedfileserver - Example showing a file server using Tor embedded in the binary
- grpc - Example showing how to use gRPC over Tor
- httpaltsvc - Example showing how to use .onion address as
Alt-Svcof regular website (in development)
To run an example, while in this directory run the following with <example> replaced with the desired example:
go run ./<example>