| 1 |
goptlib is a library for writing Tor pluggable transports in Go. |
| 2 |
|
| 3 |
https://spec.torproject.org/pt-spec |
| 4 |
https://spec.torproject.org/ext-orport-spec |
| 5 |
|
| 6 |
To download a copy of the library into $GOPATH: |
| 7 |
go get gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/goptlib |
| 8 |
|
| 9 |
See the included example programs for examples of how to use the |
| 10 |
library. To build them, enter their directory and run "go build". |
| 11 |
examples/dummy-client/dummy-client.go |
| 12 |
examples/dummy-server/dummy-server.go |
| 13 |
The recommended way to start writing a new transport plugin is to copy |
| 14 |
dummy-client or dummy-server and make changes to it. |
| 15 |
|
| 16 |
There is browseable documentation here: |
| 17 |
https://pkg.go.dev/gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/goptlib |
| 18 |
|
| 19 |
Report bugs to the [email protected] mailing list or to the |
| 20 |
bug tracker at https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/goptlib/-/issues. |
| 21 |
|
| 22 |
To the extent possible under law, the authors have dedicated all |
| 23 |
copyright and related and neighboring rights to this software to the |
| 24 |
public domain worldwide. This software is distributed without any |
| 25 |
warranty. See COPYING. |