Rod Hynes 8a972ef75d Use Go modules 3 лет назад
..
.gitignore 8a972ef75d Use Go modules 3 лет назад
COPYING 742b0c0a51 Update Psiphon-Inc->Psiphon-Labs imports and vendor 7 лет назад
README 742b0c0a51 Update Psiphon-Inc->Psiphon-Labs imports and vendor 7 лет назад
args.go 742b0c0a51 Update Psiphon-Inc->Psiphon-Labs imports and vendor 7 лет назад
pt.go 742b0c0a51 Update Psiphon-Inc->Psiphon-Labs imports and vendor 7 лет назад
socks.go 999bce09d4 Update vendored Psiphon-Labs/goptlib 6 лет назад

README

goptlib is a library for writing Tor pluggable transports in Go.

https://gitweb.torproject.org/torspec.git/blob/HEAD:/pt-spec.txt
https://gitweb.torproject.org/torspec.git/blob/HEAD:/proposals/196-transport-control-ports.txt
https://gitweb.torproject.org/torspec.git/blob/HEAD:/proposals/217-ext-orport-auth.txt

To download a copy of the library into $GOPATH:
go get git.torproject.org/pluggable-transports/goptlib.git

See the included example programs for examples of how to use the
library. To build them, enter their directory and run "go build".
examples/dummy-client/dummy-client.go
examples/dummy-server/dummy-server.go
The recommended way to start writing a new transport plugin is to copy
dummy-client or dummy-server and make changes to it.

There is browseable documentation here:
http://godoc.org/git.torproject.org/pluggable-transports/goptlib.git

Report bugs to the tor-dev@lists.torproject.org mailing list or to the
bug tracker at https://trac.torproject.org/projects/tor.

To the extent possible under law, the authors have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is distributed without any
warranty. See COPYING.