func (w WriteAdapter) Header() http.Header {
	return w.Writer.Header()
}
Header adapts Header
package types
import (
	"fmt"
	"net/http"
)
type WriteAdapter struct {
	Writer     http.ResponseWriter
	HttpResult *HttpResult
}
type HttpResult struct {
	HeaderCode int
}
func NewWriteAdapter(w http.ResponseWriter) WriteAdapter {
	return WriteAdapter{Writer: w, HttpResult: &HttpResult{}}
}