Imports github.com/ChimeraCoder/tokenbucket github.com/dustin/go-jsonpointer github.com/garyburd/go-oauth/oauth Standard library imports bufio encoding/json fmt io/ioutil log math/rand net/http net/url os strconv sync time