lang and trying to use a framework called iris-web.
i wanted to know how to get the http referrer and user-agent properly..
I've been through the documentation pdf. No clear explanation..
Any help will be deeply appreciated.
lang and trying to use a framework called iris-web.
i wanted to know how to get the http referrer and user-agent properly..
I've been through the documentation pdf. No clear explanation..
Any help will be deeply appreciated.
As in regular Go http:
request.Header.Get("User-Agent")
request.Header.Get("Referer")