Documentation
¶
Index ¶
Constants ¶
const APIName = "kube-workspaces"
APIName is the name of the API as defined in the design.
const APIVersion = "1.0.0"
APIVersion is the version of the API as defined in the design.
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 ¶
var MethodNames = [1]string{"check"}
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 NewCheckEndpoint ¶
NewCheckEndpoint returns an endpoint function that calls the method "check" of service "health".
Types ¶
type CheckResult ¶
type CheckResult struct {
// Health status
Status string
}
CheckResult is the result type of the health service check method.
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.