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

# Functions

DecodeDivideRequest decodes requests sent to "divider" service "divide" endpoint.
DecodeIntegerDivideRequest decodes requests sent to "divider" service "integer_divide" endpoint.
EncodeDivideResponse encodes responses from the "divider" service "divide" endpoint.
EncodeIntegerDivideResponse encodes responses from the "divider" service "integer_divide" endpoint.
New instantiates the server struct with the divider service endpoints.
NewDivideHandler creates a gRPC handler which serves the "divider" service "divide" endpoint.
NewDividePayload builds the payload of the "divide" endpoint of the "divider" service from the gRPC request type.
NewDivideResponse builds the gRPC response type from the result of the "divide" endpoint of the "divider" service.
NewIntegerDivideHandler creates a gRPC handler which serves the "divider" service "integer_divide" endpoint.
NewIntegerDividePayload builds the payload of the "integer_divide" endpoint of the "divider" service from the gRPC request type.
NewIntegerDivideResponse builds the gRPC response type from the result of the "integer_divide" endpoint of the "divider" service.

# Structs

Server implements the dividerpb.DividerServer interface.

# Interfaces

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