Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceName = "test"
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{"test"}
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 NewTestEndpoint ¶
NewTestEndpoint returns an endpoint function that calls the method "test" of service "test".
Types ¶
type Client ¶
Client is the "test" service client.
type Endpoints ¶
Endpoints wraps the "test" service endpoints.
func NewEndpoints ¶
NewEndpoints wraps the methods of the "test" service with endpoints.
Click to show internal directories.
Click to hide internal directories.