Imports github.com/Sirupsen/logrus github.com/docker/docker/api/types github.com/rancher/agent/service/hostapi/auth github.com/rancher/agent/service/hostapi/events github.com/rancher/websocket-proxy/backend github.com/rancher/websocket-proxy/common golang.org/x/net/context Standard library imports bufio bytes net/url strconv strings