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