SetStatus sets the HTTP status code
(statusCode uint16)
| 17 | type ServerResponse interface { |
| 18 | // SetStatus sets the HTTP status code |
| 19 | SetStatus(statusCode uint16) |
| 20 | // SetBody sets the object of the response which will be encoded as JSON. |
| 21 | SetBody(interface{}) |
| 22 | } |