Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(url string, region string, credentialProvider credentials.AWSCredentialProvider, acceptInvalidCert bool, statsEngine stats.Engine, publishMetricsInterval time.Duration) wsclient.ClientServer
New returns a client/server to bidirectionally communicate with the backend. The returned struct should have both 'Connect' and 'Serve' called upon it before being used.
Types ¶
type TcsDecoder ¶
type TcsDecoder struct{}
TcsDecoder implments wsclient.TypeDecoder.
func (*TcsDecoder) GetRecognizedTypes ¶
func (dc *TcsDecoder) GetRecognizedTypes() map[string]reflect.Type
func (*TcsDecoder) NewOfType ¶
func (dc *TcsDecoder) NewOfType(tcsType string) (interface{}, bool)
type UnretriableErrors ¶
type UnretriableErrors struct{}
UnretriableErrors wraps all the typed errors that TCS may return
func (*UnretriableErrors) Get ¶
func (err *UnretriableErrors) Get() []interface{}
Get gets the list of unretriable error types.
Click to show internal directories.
Click to hide internal directories.