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