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

Function PathFiles

jsonrpc/codegen/paths.go:11–18  ·  view source on GitHub ↗

PathFiles returns the service path files.

(data *httpcodegen.ServicesData)

Source from the content-addressed store, hash-verified

9
10// PathFiles returns the service path files.
11func PathFiles(data *httpcodegen.ServicesData) []*codegen.File {
12 res := httpcodegen.PathFiles(data)
13 for _, f := range res {
14 updateHeader(f)
15 f.Path = strings.Replace(f.Path, "/http/", "/jsonrpc/", 1)
16 }
17 return res
18}

Callers

nothing calls this directly

Calls 1

updateHeaderFunction · 0.85

Tested by

no test coverage detected