Go (Golang) Quick Start Guide - QuotaGuard Static IPs

    Table of contents

    We love Go (Golang), so if you have any issues, please write us so we can help. We really want to encourage any use of Go as much as possible, so please reach out to Support if you ever have questions.

    Here are some useful links on how to use Postman and Proxies:

       * Configure Postman

       * Configuring a Custom Proxy

    For GoLang, you can setup a per-request proxy in the http package like this:

    proxyUrl, err := url.Parse("http://username:password@proxy.quotaguard.com:9293")
    myClient := &http.Client{Transport: &http.Transport{Proxy: http.ProxyURL(proxyUrl)}}
    

    Or you can configure it for all requests like this:

    proxyUrl, err := url.Parse("http://username:password@proxy.quotaguard.com:9293")
    http.DefaultTransport = &http.Transport{Proxy: http.ProxyURL(proxyUrl)}
    

    We love GoLang, unfortunately, we don’t have a lot of customers that have used QuotaGuard with Golang, so we don’t have as many examples to share, but if you are using it, please let us know so we can help get everything setup together and make sure it works for you just as you want.


    Ready to Get Started?

    Get in touch or create a free trial account