Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceName = "monitoring"
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{"status"}
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 MakeInternalServerError ¶
func MakeInternalServerError(err error) *goa.ServiceError
MakeInternalServerError builds a goa.ServiceError from an error.
func NewStatusEndpoint ¶
NewStatusEndpoint returns an endpoint function that calls the method "status" of service "monitoring".
Types ¶
type Client ¶
Client is the "monitoring" service client.
type Endpoints ¶
Endpoints wraps the "monitoring" service endpoints.
func NewEndpoints ¶
NewEndpoints wraps the methods of the "monitoring" service with endpoints.
Click to show internal directories.
Click to hide internal directories.