File: README.md

package info (click to toggle)
golang-github-cretz-bine 0.2.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports, sid, trixie
  • size: 652 kB
  • sloc: makefile: 3
file content (14 lines) | stat: -rw-r--r-- 782 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
### Bine Examples

The following examples are in this directory:

* [simpleclient](simpleclient) - A simple Tor client for connecting to the web or other onion services
* [simpleserver](simpleserver) - Hosting simple "hello world" Tor onion service 
* [embeddedversion](embeddedversion) - Example showing how to dump the version of Tor embedded in the binary
* [embeddedfileserver](embeddedfileserver) - Example showing a file server using Tor embedded in the binary
* [grpc](grpc) - Example showing how to use gRPC over Tor
* [httpaltsvc](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>