WriteString write (200, string, text/html) to response
(contents ...interface{})
| 587 | |
| 588 | // WriteString write (200, string, text/html) to response |
| 589 | func (ctx *HttpContext) WriteHtml(contents ...interface{}) error { |
| 590 | return ctx.WriteHtmlC(defaultHttpCode, contents...) |
| 591 | } |
| 592 | |
| 593 | // WriteHtmlC write (httpCode, string, text/html) to response |
| 594 | func (ctx *HttpContext) WriteHtmlC(code int, contents ...interface{}) error { |
nothing calls this directly
no test coverage detected