GenerateIrisServer generates all the go code for the ServerInterface as well as all the wrapper functions around our handlers.
(t *template.Template, operations []OperationDefinition)
| 1266 | // GenerateIrisServer generates all the go code for the ServerInterface as well as |
| 1267 | // all the wrapper functions around our handlers. |
| 1268 | func GenerateIrisServer(t *template.Template, operations []OperationDefinition) (string, error) { |
| 1269 | return GenerateTemplates([]string{"iris/iris-interface.tmpl", "iris/iris-middleware.tmpl", "iris/iris-handler.tmpl"}, t, operations) |
| 1270 | } |
| 1271 | |
| 1272 | // GenerateChiServer generates all the go code for the ServerInterface as well as |
| 1273 | // all the wrapper functions around our handlers. |
no test coverage detected