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

# Functions

MakeDivByZero builds a goa.ServiceError from an error.
MakeHasRemainder builds a goa.ServiceError from an error.
MakeTimeout builds a goa.ServiceError from an error.
NewClient initializes a "divider" service client given the endpoints.
NewDivideEndpoint returns an endpoint function that calls the method "divide" of service "divider".
NewEndpoints wraps the methods of the "divider" service with endpoints.
NewIntegerDivideEndpoint returns an endpoint function that calls the method "integer_divide" of service "divider".

# 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

Client is the "divider" service client.
Endpoints wraps the "divider" service endpoints.
FloatOperands is the payload type of the divider service divide method.
IntOperands is the payload type of the divider service integer_divide method.

# Interfaces

Service is the divider service interface.