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

# Functions

DecodeEchoerRequest returns a decoder for requests sent to the chatter echoer endpoint.
DecodeHistoryRequest returns a decoder for requests sent to the chatter history endpoint.
DecodeListenerRequest returns a decoder for requests sent to the chatter listener endpoint.
DecodeLoginRequest returns a decoder for requests sent to the chatter login endpoint.
DecodeSubscribeRequest returns a decoder for requests sent to the chatter subscribe endpoint.
DecodeSummaryRequest returns a decoder for requests sent to the chatter summary endpoint.
EchoerChatterPath returns the URL path to the chatter service echoer HTTP endpoint.
EncodeEchoerError returns an encoder for errors returned by the echoer chatter endpoint.
EncodeHistoryError returns an encoder for errors returned by the history chatter endpoint.
EncodeListenerError returns an encoder for errors returned by the listener chatter endpoint.
EncodeLoginError returns an encoder for errors returned by the login chatter endpoint.
EncodeLoginResponse returns an encoder for responses returned by the chatter login endpoint.
EncodeSubscribeError returns an encoder for errors returned by the subscribe chatter endpoint.
EncodeSummaryError returns an encoder for errors returned by the summary chatter endpoint.
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.
Mount configures the mux to serve the chatter endpoints.
MountEchoerHandler configures the mux to serve the "chatter" service "echoer" endpoint.
MountHistoryHandler configures the mux to serve the "chatter" service "history" endpoint.
MountListenerHandler configures the mux to serve the "chatter" service "listener" endpoint.
MountLoginHandler configures the mux to serve the "chatter" service "login" endpoint.
MountSubscribeHandler configures the mux to serve the "chatter" service "subscribe" endpoint.
MountSummaryHandler configures the mux to serve the "chatter" service "summary" endpoint.
New instantiates HTTP handlers for all the chatter service endpoints using the provided encoder and decoder.
NewChatSummaryResponseCollection builds the HTTP response body from the result of the "summary" endpoint of the "chatter" service.
NewConnConfigurer initializes the websocket connection configurer function with fn for all the streaming endpoints in "chatter" service.
NewEchoerHandler creates a HTTP handler which loads the HTTP request and calls the "chatter" service "echoer" endpoint.
NewEchoerInvalidScopesResponseBody builds the HTTP response body from the result of the "echoer" endpoint of the "chatter" service.
NewEchoerPayload builds a chatter service echoer endpoint payload.
NewEchoerUnauthorizedResponseBody builds the HTTP response body from the result of the "echoer" endpoint of the "chatter" service.
NewHistoryHandler creates a HTTP handler which loads the HTTP request and calls the "chatter" service "history" endpoint.
NewHistoryInvalidScopesResponseBody builds the HTTP response body from the result of the "history" endpoint of the "chatter" service.
NewHistoryPayload builds a chatter service history endpoint payload.
NewHistoryResponseBody builds the HTTP response body from the result of the "history" endpoint of the "chatter" service.
NewHistoryResponseBodyTiny builds the HTTP response body from the result of the "history" endpoint of the "chatter" service.
NewHistoryUnauthorizedResponseBody builds the HTTP response body from the result of the "history" endpoint of the "chatter" service.
NewListenerHandler creates a HTTP handler which loads the HTTP request and calls the "chatter" service "listener" endpoint.
NewListenerInvalidScopesResponseBody builds the HTTP response body from the result of the "listener" endpoint of the "chatter" service.
NewListenerPayload builds a chatter service listener endpoint payload.
NewListenerUnauthorizedResponseBody builds the HTTP response body from the result of the "listener" endpoint of the "chatter" service.
NewLoginHandler creates a HTTP handler which loads the HTTP request and calls the "chatter" service "login" endpoint.
NewLoginPayload builds a chatter service login endpoint payload.
NewLoginUnauthorizedResponseBody builds the HTTP response body from the result of the "login" endpoint of the "chatter" service.
NewSubscribeHandler creates a HTTP handler which loads the HTTP request and calls the "chatter" service "subscribe" endpoint.
NewSubscribeInvalidScopesResponseBody builds the HTTP response body from the result of the "subscribe" endpoint of the "chatter" service.
NewSubscribePayload builds a chatter service subscribe endpoint payload.
NewSubscribeResponseBody builds the HTTP response body from the result of the "subscribe" endpoint of the "chatter" service.
NewSubscribeUnauthorizedResponseBody builds the HTTP response body from the result of the "subscribe" endpoint of the "chatter" service.
NewSummaryHandler creates a HTTP handler which loads the HTTP request and calls the "chatter" service "summary" endpoint.
NewSummaryInvalidScopesResponseBody builds the HTTP response body from the result of the "summary" endpoint of the "chatter" service.
NewSummaryPayload builds a chatter service summary endpoint payload.
NewSummaryUnauthorizedResponseBody builds the HTTP response body from the result of the "summary" endpoint of the "chatter" service.
SubscribeChatterPath returns the URL path to the chatter service subscribe HTTP endpoint.
SummaryChatterPath returns the URL path to the chatter service summary HTTP endpoint.

# Structs

ChatSummaryResponse is used to define fields on response body types.
ConnConfigurer holds the websocket connection configurer functions for the streaming endpoints in "chatter" service.
EchoerServerStream implements the chatter.EchoerServerStream interface.
HistoryResponseBody is the type of the "chatter" service "history" endpoint HTTP response body.
HistoryResponseBodyTiny is the type of the "chatter" service "history" endpoint HTTP response body.
HistoryServerStream implements the chatter.HistoryServerStream interface.
ListenerServerStream implements the chatter.ListenerServerStream interface.
MountPoint holds information about the mounted endpoints.
Server lists the chatter service endpoint HTTP handlers.
SubscribeResponseBody is the type of the "chatter" service "subscribe" endpoint HTTP response body.
SubscribeServerStream implements the chatter.SubscribeServerStream interface.
SummaryServerStream implements the chatter.SummaryServerStream interface.

# Interfaces

ErrorNamer is an interface implemented by generated error structs that exposes the name of the error as defined in the design.

# Type aliases

ChatSummaryResponseCollection is the type of the "chatter" service "summary" endpoint HTTP response body.
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.
SummaryUnauthorizedResponseBody is the type of the "chatter" service "summary" endpoint HTTP response body for the "unauthorized" error.