package
2.2.4+incompatible
Repository: https://github.com/goadesign/examples.git
Documentation: pkg.go.dev
# Functions
DecodeEchoerRequest decodes requests sent to "chatter" service "echoer" endpoint.
DecodeHistoryRequest decodes requests sent to "chatter" service "history" endpoint.
DecodeListenerRequest decodes requests sent to "chatter" service "listener" endpoint.
DecodeLoginRequest decodes requests sent to "chatter" service "login" endpoint.
DecodeSubscribeRequest decodes requests sent to "chatter" service "subscribe" endpoint.
DecodeSummaryRequest decodes requests sent to "chatter" service "summary" endpoint.
EncodeEchoerResponse encodes responses from the "chatter" service "echoer" endpoint.
EncodeHistoryResponse encodes responses from the "chatter" service "history" endpoint.
EncodeListenerResponse encodes responses from the "chatter" service "listener" endpoint.
EncodeLoginResponse encodes responses from the "chatter" service "login" endpoint.
EncodeSubscribeResponse encodes responses from the "chatter" service "subscribe" endpoint.
EncodeSummaryResponse encodes responses from the "chatter" service "summary" endpoint.
New instantiates the server struct with the chatter service endpoints.
NewChatSummaryCollection builds the gRPC response type from the result of the "summary" endpoint of the "chatter" service.
NewEchoerHandler creates a gRPC handler which serves the "chatter" service "echoer" endpoint.
NewEchoerPayload builds the payload of the "echoer" endpoint of the "chatter" service from the gRPC request type.
NewEchoerResponse builds the gRPC response type from the result of the "echoer" endpoint of the "chatter" service.
No description provided by the author
NewHistoryHandler creates a gRPC handler which serves the "chatter" service "history" endpoint.
NewHistoryPayload builds the payload of the "history" endpoint of the "chatter" service from the gRPC request type.
NewHistoryResponse builds the gRPC response type from the result of the "history" endpoint of the "chatter" service.
NewListenerHandler creates a gRPC handler which serves the "chatter" service "listener" endpoint.
NewListenerPayload builds the payload of the "listener" endpoint of the "chatter" service from the gRPC request type.
NewListenerResponse builds the gRPC response type from the result of the "listener" endpoint of the "chatter" service.
No description provided by the author
NewLoginHandler creates a gRPC handler which serves the "chatter" service "login" endpoint.
NewLoginPayload builds the payload of the "login" endpoint of the "chatter" service from the gRPC request type.
NewLoginResponse builds the gRPC response type from the result of the "login" endpoint of the "chatter" service.
NewSubscribeHandler creates a gRPC handler which serves the "chatter" service "subscribe" endpoint.
NewSubscribePayload builds the payload of the "subscribe" endpoint of the "chatter" service from the gRPC request type.
NewSubscribeResponse builds the gRPC response type from the result of the "subscribe" endpoint of the "chatter" service.
NewSummaryHandler creates a gRPC handler which serves the "chatter" service "summary" endpoint.
NewSummaryPayload builds the payload of the "summary" endpoint of the "chatter" service from the gRPC request type.
No description provided by the author
# Structs
EchoerServerStream implements the chatter.EchoerServerStream interface.
HistoryServerStream implements the chatter.HistoryServerStream interface.
ListenerServerStream implements the chatter.ListenerServerStream interface.
Server implements the chatterpb.ChatterServer interface.
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 expr.