Documentation
¶
Index ¶
Constants ¶
const APIName = "v1"
APIName is the name of the API as defined in the design.
const APIVersion = "1.0"
APIVersion is the version of the API as defined in the design.
const ServiceName = "catalog"
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{"List"}
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 MakeInternalError ¶
func MakeInternalError(err error) *goa.ServiceError
MakeInternalError builds a goa.ServiceError from an error.
func NewListEndpoint ¶
NewListEndpoint returns an endpoint function that calls the method "List" of service "catalog".
Types ¶
type Client ¶
Client is the "catalog" service client.
type Endpoints ¶
Endpoints wraps the "catalog" service endpoints.
func NewEndpoints ¶
NewEndpoints wraps the methods of the "catalog" service with endpoints.
type ListResult ¶
type ListResult struct {
Data []*Catalog
}
ListResult is the result type of the catalog service List method.