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