package
0.0.0-20160914134843-39e911a8f4a9
Repository: https://github.com/hailooss/platform.git
Documentation: pkg.go.dev

# Functions

AsyncTopic is a wrapper around DefaultClient.AsyncTopic.
CustomReq is a wrapper around DefaultClient.CustomReq.
NewJsonPublication returns a new publication based on topic and json payload.
NewJsonRequest builds a new request object for JSON requests.
No description provided by the author
NewProtoRequest builds a new request object for raw protobuf requests.
NewPublication returns a new publication based on topic and payload.
NewRequest builds a new request object, checking for bad data.
NewTimeout mints a blank timeout container from which we can calculate timeouts to use for requests.
Pub is a wrapper around DefaultClient.Pub.
Push is a wrapper around DefaultClient.Push.
Req is a wrapper around DefaultClient.Req.

# Variables

This must be set to an instance of MockClient before tests begin.
DefaultClient is a client with default options.
NewClient is the default client constructor used.
NewDefaultClient is the regular Client constructor, used to create real clients.

# Structs

No description provided by the author
No description provided by the author
Publication packages data needed to send a publication out.
Request packages data needed to send a request out.
Response wraps an AMQP delivery.
Timeout stores state information about services in order to make decisions on what timeout to use when contacting other services.

# Interfaces

A client stores the details of a service client.

# Type aliases

Options to send with a client request.