tcsclient

package
Version: v0.0.0-...-0dcd02c Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2017 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, GooglePatentsFile, ISC, MIT, MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(url string,
	cfg *config.Config,
	credentialProvider *credentials.Credentials,
	statsEngine stats.Engine,
	publishMetricsInterval time.Duration,
	rwTimeout 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.

func NewTCSDecoder

func NewTCSDecoder() wsclient.TypeDecoder

Types

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL