Imports github.com/aws/amazon-ecs-agent/agent/utils github.com/aws/aws-sdk-go/aws/credentials github.com/aws/aws-sdk-go/private/protocol/json/jsonutil github.com/cihub/seelog github.com/gorilla/websocket Standard library imports bufio bytes crypto/tls encoding/base64 encoding/json fmt io io/ioutil net net/http net/url reflect strings time