Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceName = "calc"
ServiceName is the name of the service as defined in the design. This is the same value that is set in the endpoint request contexts under the ServiceKey key.
Variables ¶
View Source
var MethodNames = [1]string{"multiply"}
MethodNames lists the service method names as defined in the design. These are the same values that are set in the endpoint request contexts under the MethodKey key.
Functions ¶
func NewMultiplyEndpoint ¶
NewMultiplyEndpoint returns an endpoint function that calls the method "multiply" of service "calc".
Types ¶
type Client ¶
Client is the "calc" service client.
type Endpoints ¶
Endpoints wraps the "calc" service endpoints.
func NewEndpoints ¶
NewEndpoints wraps the methods of the "calc" service with endpoints.
type MultiplyPayload ¶
MultiplyPayload is the payload type of the calc service multiply method.
Click to show internal directories.
Click to hide internal directories.