| 1 | ### Bine Examples |
| 2 | |
| 3 | The following examples are in this directory: |
| 4 | |
| 5 | * [simpleclient](simpleclient) - A simple Tor client for connecting to the web or other onion services |
| 6 | * [simpleserver](simpleserver) - Hosting simple "hello world" Tor onion service |
| 7 | * [embeddedversion](embeddedversion) - Example showing how to dump the version of Tor embedded in the binary |
| 8 | * [embeddedfileserver](embeddedfileserver) - Example showing a file server using Tor embedded in the binary |
| 9 | * [grpc](grpc) - Example showing how to use gRPC over Tor |
| 10 | * [httpaltsvc](httpaltsvc) - Example showing how to use .onion address as `Alt-Svc` of regular website (in development) |
| 11 | |
| 12 | To run an example, while in this directory run the following with `<example>` replaced with the desired example: |
| 13 | |
| 14 | go run ./<example> |