examples

module
v0.0.0-...-d54ae22 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 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