MCPcopy
hub / github.com/gin-gonic/gin / reset

Method reset

response_writer.go:61–65  ·  view source on GitHub ↗
(writer http.ResponseWriter)

Source from the content-addressed store, hash-verified

59}
60
61func (w *responseWriter) reset(writer http.ResponseWriter) {
62 w.ResponseWriter = writer
63 w.size = noWritten
64 w.status = defaultStatus
65}
66
67func (w *responseWriter) WriteHeader(code int) {
68 if code > 0 && w.status != code {

Calls

no outgoing calls