package
2.2.4+incompatible
Repository: https://github.com/goadesign/examples.git
Documentation: pkg.go.dev
# Functions
NewAddEndpoint returns an endpoint function that calls the method "add" of service "calc".
NewClient initializes a "calc" service client given the endpoints.
NewEndpoints wraps the methods of the "calc" service with endpoints.
# 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
AddPayload is the payload type of the calc service add method.
Client is the "calc" service client.
Endpoints wraps the "calc" service endpoints.
# Interfaces
The calc service performs operations on numbers.