github.com/goadesign/goa/examples/calc/gen/openapi


openapi

import "github.com/goadesign/goa/examples/calc/gen/openapi"

Overview

Index

Package files

client.go endpoints.go service.go

Constants

const ServiceName = "openapi"

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 = [0]string{}

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.

type Client

type Client struct {
}

Client is the “openapi” service client.

func NewClient

func NewClient(goa.Endpoint) *Client

NewClient initializes a “openapi” service client given the endpoints.

type Endpoints

type Endpoints struct {
}

Endpoints wraps the “openapi” service endpoints.

func NewEndpoints

func NewEndpoints(s Service) *Endpoints

NewEndpoints wraps the methods of the “openapi” service with endpoints.

func (*Endpoints) Use

func (e *Endpoints) Use(m func(goa.Endpoint) goa.Endpoint)

Use applies the given middleware to all the “openapi” service endpoints.

type Service

type Service interface {
}

Service is the openapi service interface.


Generated by godoc2md