Bencode is a library for encoding/decoding bencoded data into Go data structures. The api is designed to be similar to the JSON api in the Go standard library.
Documentation at http://godoc.org/github.com/zeebo/bencode