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

# Functions

DecodeAddRequest decodes requests sent to "calc" service "add" endpoint.
EncodeAddResponse encodes responses from the "calc" service "add" endpoint.
New instantiates the server struct with the calc service endpoints.
NewAddHandler creates a gRPC handler which serves the "calc" service "add" endpoint.
NewAddPayload builds the payload of the "add" endpoint of the "calc" service from the gRPC request type.
NewAddResponse builds the gRPC response type from the result of the "add" endpoint of the "calc" service.

# Structs

Server implements the calcpb.CalcServer interface.

# Interfaces

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