acsclient

package
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2016 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 6 Imported by: 0

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, region string, credentialProvider *credentials.Credentials, acceptInvalidCert bool) 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.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL