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

# Functions

BuildDividePayload builds the payload for the divider divide endpoint from CLI flags.
BuildIntegerDividePayload builds the payload for the divider integer_divide endpoint from CLI flags.
DecodeDivideResponse returns a decoder for responses returned by the divider divide endpoint.
DecodeIntegerDivideResponse returns a decoder for responses returned by the divider integer_divide endpoint.
DivideDividerPath returns the URL path to the divider service divide HTTP endpoint.
IntegerDivideDividerPath returns the URL path to the divider service integer_divide HTTP endpoint.
NewClient instantiates HTTP clients for all the divider service servers.
NewDivideDivByZero builds a divider service divide endpoint div_by_zero error.
NewDivideTimeout builds a divider service divide endpoint timeout error.
NewIntegerDivideDivByZero builds a divider service integer_divide endpoint div_by_zero error.
NewIntegerDivideHasRemainder builds a divider service integer_divide endpoint has_remainder error.
NewIntegerDivideTimeout builds a divider service integer_divide endpoint timeout error.
ValidateDivideDivByZeroResponseBody runs the validations defined on divide_div_by_zero_response_body.
ValidateDivideTimeoutResponseBody runs the validations defined on divide_timeout_response_body.
ValidateIntegerDivideDivByZeroResponseBody runs the validations defined on integer_divide_div_by_zero_response_body.
ValidateIntegerDivideHasRemainderResponseBody runs the validations defined on integer_divide_has_remainder_response_body.
ValidateIntegerDivideTimeoutResponseBody runs the validations defined on integer_divide_timeout_response_body.

# Structs

Client lists the divider service endpoint HTTP clients.
DivideDivByZeroResponseBody is the type of the "divider" service "divide" endpoint HTTP response body for the "div_by_zero" error.
DivideTimeoutResponseBody is the type of the "divider" service "divide" endpoint HTTP response body for the "timeout" error.
IntegerDivideDivByZeroResponseBody is the type of the "divider" service "integer_divide" endpoint HTTP response body for the "div_by_zero" error.
IntegerDivideHasRemainderResponseBody is the type of the "divider" service "integer_divide" endpoint HTTP response body for the "has_remainder" error.
IntegerDivideTimeoutResponseBody is the type of the "divider" service "integer_divide" endpoint HTTP response body for the "timeout" error.