Documentation ¶
Overview ¶
Package acsclient wraps the generated aws-sdk-go client to provide marshalling and unmarshalling of data over a websocket connection in the format expected by ACS. It allows for bidirectional communication and acts as both a client-and-server in terms of requests, but only as a client in terms of connecting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(url string, cfg *config.Config, credentialProvider *credentials.Credentials, rwTimeout time.Duration) wsclient.ClientServer
New returns a client/server to bidirectionally communicate with ACS The returned struct should have both 'Connect' and 'Serve' called upon it before being used.
func NewACSDecoder ¶ added in v1.14.1
func NewACSDecoder() wsclient.TypeDecoder
Types ¶
type ACSUnretriableErrors ¶ added in v1.2.0
type ACSUnretriableErrors struct{}
ACSUnretriableErrors wraps all the typed errors that ACS may return
func (*ACSUnretriableErrors) Get ¶ added in v1.2.0
func (err *ACSUnretriableErrors) Get() []interface{}
Get gets the list of unretriable error types.
Click to show internal directories.
Click to hide internal directories.