Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 782 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 782 Bytes

Bine Examples

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-Svc of 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>