examples

module
v0.0.0-...-b9d31d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2022 License: MIT

README

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>

Directories

Path Synopsis
pb
Package pb is a generated protocol buffer package.
Package pb is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL