package
2.2.4+incompatible
Repository: https://github.com/goadesign/examples.git
Documentation: pkg.go.dev
# Functions
DecodePickRequest decodes requests sent to "sommelier" service "pick" endpoint.
EncodePickResponse encodes responses from the "sommelier" service "pick" endpoint.
New instantiates the server struct with the sommelier service endpoints.
NewPickHandler creates a gRPC handler which serves the "sommelier" service "pick" endpoint.
NewPickPayload builds the payload of the "pick" endpoint of the "sommelier" service from the gRPC request type.
NewStoredBottleCollection builds the gRPC response type from the result of the "pick" endpoint of the "sommelier" service.
# Interfaces
ErrorNamer is an interface implemented by generated error structs that exposes the name of the error as defined in the expr.