Imports github.com/lxc/lxd/shared github.com/lxc/lxd/shared/logger gopkg.in/macaroon-bakery.v2/bakery gopkg.in/macaroon-bakery.v2/httpbakery/agent gopkg.in/macaroon-bakery.v2/httpbakery Standard library imports bytes encoding/json errors fmt net/http net/url path strconv sync time net/http/cookiejar