package
2.2.4+incompatible
Repository: https://github.com/goadesign/examples.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
NewChatSummary initializes result type ChatSummary from viewed result type ChatSummary.
NewChatSummaryCollection initializes result type ChatSummaryCollection from viewed result type ChatSummaryCollection.
NewClient initializes a "chatter" service client given the endpoints.
NewEchoerEndpoint returns an endpoint function that calls the method "echoer" of service "chatter".
NewEndpoints wraps the methods of the "chatter" service with endpoints.
NewHistoryEndpoint returns an endpoint function that calls the method "history" of service "chatter".
NewListenerEndpoint returns an endpoint function that calls the method "listener" of service "chatter".
NewLoginEndpoint returns an endpoint function that calls the method "login" of service "chatter".
NewSubscribeEndpoint returns an endpoint function that calls the method "subscribe" of service "chatter".
NewSummaryEndpoint returns an endpoint function that calls the method "summary" of service "chatter".
NewViewedChatSummary initializes viewed result type ChatSummary from result type ChatSummary using the given view.
NewViewedChatSummaryCollection initializes viewed result type ChatSummaryCollection from result type ChatSummaryCollection using the given view.
# Constants
ServiceName is the name of the service as defined in the design.
# Variables
MethodNames lists the service method names as defined in the design.
# Structs
ChatSummary is the result type of the chatter service history method.
Client is the "chatter" service client.
EchoerEndpointInput holds both the payload and the server stream of the "echoer" method.
EchoerPayload is the payload type of the chatter service echoer method.
Endpoints wraps the "chatter" service endpoints.
Event is the result type of the chatter service subscribe method.
HistoryEndpointInput holds both the payload and the server stream of the "history" method.
HistoryPayload is the payload type of the chatter service history method.
ListenerEndpointInput holds both the payload and the server stream of the "listener" method.
ListenerPayload is the payload type of the chatter service listener method.
Credentials used to authenticate to retrieve JWT token.
SubscribeEndpointInput holds both the payload and the server stream of the "subscribe" method.
SubscribePayload is the payload type of the chatter service subscribe method.
SummaryEndpointInput holds both the payload and the server stream of the "summary" method.
SummaryPayload is the payload type of the chatter service summary method.
# Interfaces
Auther defines the authorization functions to be implemented by the service.
EchoerClientStream is the interface a "echoer" endpoint client stream must satisfy.
EchoerServerStream is the interface a "echoer" endpoint server stream must satisfy.
HistoryClientStream is the interface a "history" endpoint client stream must satisfy.
HistoryServerStream is the interface a "history" endpoint server stream must satisfy.
ListenerClientStream is the interface a "listener" endpoint client stream must satisfy.
ListenerServerStream is the interface a "listener" endpoint server stream must satisfy.
The chatter service implements a simple client and server chat.
SubscribeClientStream is the interface a "subscribe" endpoint client stream must satisfy.
SubscribeServerStream is the interface a "subscribe" endpoint server stream must satisfy.
SummaryClientStream is the interface a "summary" endpoint client stream must satisfy.
SummaryServerStream is the interface a "summary" endpoint server stream must satisfy.
# Type aliases
ChatSummaryCollection is the result type of the chatter service summary method.
No description provided by the author
Credentials are invalid.