Imports github.com/gorilla/websocket github.com/lxc/lxd/shared github.com/lxc/lxd/shared/api github.com/lxc/lxd/shared/cancel github.com/lxc/lxd/shared/ioprogress github.com/lxc/lxd/shared/logger github.com/lxc/lxd/shared/simplestreams Standard library imports mime/multipart net net/http net/url os path/filepath strings sync bytes crypto/sha256 encoding/json fmt io io/ioutil mime