GoTor is my attempt at implementing a full Tor relay in the Go language. I ended up dropping the project, but a full writeup can be found on my blog.
The code is licensed under the BSD 3-clause license, see the file called 'LICENSE'.
Please do not use this code on a production relay. It is insecure, unstable, and potentially harmful to the network.