github.com/wangkui503/aero@v1.0.0/Response.go (about)

     1  package aero
     2  
     3  import (
     4  	"net/http"
     5  )
     6  
     7  // Response represents the HTTP response used in the given context.
     8  type Response struct {
     9  	inner http.ResponseWriter
    10  }
    11  
    12  // Header represents the response headers.
    13  func (response Response) Header() http.Header {
    14  	return response.inner.Header()
    15  }