ServerTypeFiles returns the JSON-RPC transport type files.
(genpkg string, services *httpcodegen.ServicesData)
| 9 | |
| 10 | // ServerTypeFiles returns the JSON-RPC transport type files. |
| 11 | func ServerTypeFiles(genpkg string, services *httpcodegen.ServicesData) []*codegen.File { |
| 12 | res := httpcodegen.ServerTypeFiles(genpkg, services) |
| 13 | for _, f := range res { |
| 14 | updateHeader(f) |
| 15 | f.Path = strings.Replace(f.Path, "/http/", "/jsonrpc/", 1) |
| 16 | } |
| 17 | return res |
| 18 | } |
nothing calls this directly
no test coverage detected