Engine is the generic interface for all responses.
| 11 | |
| 12 | // Engine is the generic interface for all responses. |
| 13 | type Engine interface { |
| 14 | Render(w io.Writer, v interface{}) error |
| 15 | } |
| 16 | |
| 17 | // Head defines the basic ContentType and Status fields. |
| 18 | type Head struct { |