MCPcopy Create free account
hub / github.com/goadesign/goa / RouteExpr

Struct RouteExpr

expr/http_endpoint.go:90–100  ·  view source on GitHub ↗

RouteExpr represents an endpoint route (HTTP endpoint).

Source from the content-addressed store, hash-verified

88
89 // RouteExpr represents an endpoint route (HTTP endpoint).
90 RouteExpr struct {
91 // Method is the HTTP method, e.g. "GET", "POST", etc.
92 Method string
93 // Path is the URL path e.g. "/tasks/{id}"
94 Path string
95 // Endpoint is the endpoint this route applies to.
96 Endpoint *HTTPEndpointExpr
97 // Meta is an arbitrary set of key/value pairs, see
98 // dsl.Meta
99 Meta MetaExpr
100 }
101)
102
103// Name of HTTP endpoint

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected