package
2.2.4+incompatible
Repository: https://github.com/goadesign/examples.git
Documentation: pkg.go.dev

# Functions

BuildEchoerPayload builds the payload for the chatter echoer endpoint from CLI flags.
BuildHistoryPayload builds the payload for the chatter history endpoint from CLI flags.
BuildListenerPayload builds the payload for the chatter listener endpoint from CLI flags.
BuildLoginPayload builds the payload for the chatter login endpoint from CLI flags.
BuildSubscribePayload builds the payload for the chatter subscribe endpoint from CLI flags.
BuildSummaryPayload builds the payload for the chatter summary endpoint from CLI flags.
DecodeEchoerResponse returns a decoder for responses returned by the chatter echoer endpoint.
DecodeHistoryResponse returns a decoder for responses returned by the chatter history endpoint.
DecodeListenerResponse returns a decoder for responses returned by the chatter listener endpoint.
DecodeLoginResponse returns a decoder for responses returned by the chatter login endpoint.
DecodeSubscribeResponse returns a decoder for responses returned by the chatter subscribe endpoint.
DecodeSummaryResponse returns a decoder for responses returned by the chatter summary endpoint.
EchoerChatterPath returns the URL path to the chatter service echoer HTTP endpoint.
EncodeEchoerRequest returns an encoder for requests sent to the chatter echoer server.
EncodeHistoryRequest returns an encoder for requests sent to the chatter history server.
EncodeListenerRequest returns an encoder for requests sent to the chatter listener server.
EncodeLoginRequest returns an encoder for requests sent to the chatter login server.
EncodeSubscribeRequest returns an encoder for requests sent to the chatter subscribe server.
EncodeSummaryRequest returns an encoder for requests sent to the chatter summary server.
HistoryChatterPath returns the URL path to the chatter service history HTTP endpoint.
ListenerChatterPath returns the URL path to the chatter service listener HTTP endpoint.
LoginChatterPath returns the URL path to the chatter service login HTTP endpoint.
NewClient instantiates HTTP clients for all the chatter service servers.
NewConnConfigurer initializes the websocket connection configurer function with fn for all the streaming endpoints in "chatter" service.
NewEchoerInvalidScopes builds a chatter service echoer endpoint invalid-scopes error.
NewEchoerUnauthorized builds a chatter service echoer endpoint unauthorized error.
NewHistoryChatSummaryOK builds a "chatter" service "history" endpoint result from a HTTP "OK" response.
NewHistoryInvalidScopes builds a chatter service history endpoint invalid-scopes error.
NewHistoryUnauthorized builds a chatter service history endpoint unauthorized error.
NewListenerInvalidScopes builds a chatter service listener endpoint invalid-scopes error.
NewListenerUnauthorized builds a chatter service listener endpoint unauthorized error.
NewLoginUnauthorized builds a chatter service login endpoint unauthorized error.
NewSubscribeEventOK builds a "chatter" service "subscribe" endpoint result from a HTTP "OK" response.
NewSubscribeInvalidScopes builds a chatter service subscribe endpoint invalid-scopes error.
NewSubscribeUnauthorized builds a chatter service subscribe endpoint unauthorized error.
NewSummaryChatSummaryCollectionOK builds a "chatter" service "summary" endpoint result from a HTTP "OK" response.
NewSummaryInvalidScopes builds a chatter service summary endpoint invalid-scopes error.
NewSummaryUnauthorized builds a chatter service summary endpoint unauthorized error.
SubscribeChatterPath returns the URL path to the chatter service subscribe HTTP endpoint.
SummaryChatterPath returns the URL path to the chatter service summary HTTP endpoint.
ValidateChatSummaryResponse runs the validations defined on ChatSummaryResponse.
ValidateSubscribeResponseBody runs the validations defined on SubscribeResponseBody.

# Structs

ChatSummaryResponse is used to define fields on response body types.
Client lists the chatter service endpoint HTTP clients.
ConnConfigurer holds the websocket connection configurer functions for the streaming endpoints in "chatter" service.
EchoerClientStream implements the chatter.EchoerClientStream interface.
HistoryClientStream implements the chatter.HistoryClientStream interface.
HistoryResponseBody is the type of the "chatter" service "history" endpoint HTTP response body.
ListenerClientStream implements the chatter.ListenerClientStream interface.
SubscribeClientStream implements the chatter.SubscribeClientStream interface.
SubscribeResponseBody is the type of the "chatter" service "subscribe" endpoint HTTP response body.
SummaryClientStream implements the chatter.SummaryClientStream interface.

# Type aliases

EchoerInvalidScopesResponseBody is the type of the "chatter" service "echoer" endpoint HTTP response body for the "invalid-scopes" error.
EchoerUnauthorizedResponseBody is the type of the "chatter" service "echoer" endpoint HTTP response body for the "unauthorized" error.
HistoryInvalidScopesResponseBody is the type of the "chatter" service "history" endpoint HTTP response body for the "invalid-scopes" error.
HistoryUnauthorizedResponseBody is the type of the "chatter" service "history" endpoint HTTP response body for the "unauthorized" error.
ListenerInvalidScopesResponseBody is the type of the "chatter" service "listener" endpoint HTTP response body for the "invalid-scopes" error.
ListenerUnauthorizedResponseBody is the type of the "chatter" service "listener" endpoint HTTP response body for the "unauthorized" error.
LoginUnauthorizedResponseBody is the type of the "chatter" service "login" endpoint HTTP response body for the "unauthorized" error.
SubscribeInvalidScopesResponseBody is the type of the "chatter" service "subscribe" endpoint HTTP response body for the "invalid-scopes" error.
SubscribeUnauthorizedResponseBody is the type of the "chatter" service "subscribe" endpoint HTTP response body for the "unauthorized" error.
SummaryInvalidScopesResponseBody is the type of the "chatter" service "summary" endpoint HTTP response body for the "invalid-scopes" error.
SummaryResponseBody is the type of the "chatter" service "summary" endpoint HTTP response body.
SummaryUnauthorizedResponseBody is the type of the "chatter" service "summary" endpoint HTTP response body for the "unauthorized" error.