# Packages
No description provided by the author
# Functions
DecodeConnectionError decodes some of the connection errors returned by the backend.
DecodeData decodes a raw message into its type.
# Constants
ServiceName defines the service name for the agent.
# Structs
ClientServerImpl wraps commonly used methods defined in ClientServer interface.
NotMarshallableWSRequest represents that the given request input could not be marshalled.
ReceivedMessage is the intermediate message used to unmarshal a message from backend.
RequestMessage is the intermediate message marshalled to send to backend.
UndecodableMessage indicates that a message from the backend could not be decoded.
UnrecognizedWSRequestType specifies that a given type is not recognized.
WSError wraps all the typed errors that the backend may return This will not be needed once the aws-sdk-go generation handles error types more cleanly.
# Interfaces
ClientServer is a combined client and server for the backend websocket connection.
RequestHandler would be func(*ecsacs.T for T in ecsacs.*) to be more proper, but it needs to be interface{} to properly capture that.
ServiceError defines methods to return new backend specific error objects.
TypeDecoder interface defines methods to decode ecs types.
WebsocketConn specifies the subset of gorilla/websocket's connection's methods that this client uses.
WSUnretriableErrors defines methods to retrieve the list of unretriable errors.