acsclient

package
v1.18.0-coveo.4 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2018 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 7 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, 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.

Jump to

Keyboard shortcuts

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