github.com/goadesign/goa/examples/cellar/gen/swagger
swagger
import "github.com/goadesign/goa/examples/cellar/gen/swagger"
Overview
Index
Package files
client.go endpoints.go service.go
Constants
const ServiceName = "swagger"
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 “swagger” service client.
func NewClient
func NewClient(goa.Endpoint) *Client
NewClient initializes a “swagger” service client given the endpoints.
type Endpoints
type Endpoints struct {
}
Endpoints wraps the “swagger” service endpoints.
func NewEndpoints
func NewEndpoints(s Service) *Endpoints
NewEndpoints wraps the methods of the “swagger” service with endpoints.
func (*Endpoints) Use
func (e *Endpoints) Use(m func(goa.Endpoint) goa.Endpoint)
Use applies the given middleware to all the “swagger” service endpoints.
type Service
type Service interface {
}
The swagger service serves the API swagger definition.
Generated by godoc2md