Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpHandleProxy ¶
type HttpHandleProxy struct { Before func(http.ResponseWriter, *http.Request) After func(http.ResponseWriter, *http.Request) Except func(http.ResponseWriter, *http.Request) }
Http请求处理代理
func (*HttpHandleProxy) For ¶
func (this *HttpHandleProxy) For(handle func(http.ResponseWriter, *http.Request)) func(http.ResponseWriter, *http.Request)
type ResponseProxyWriter ¶
type ResponseProxyWriter struct { Output []byte // contains filtered or unexported fields }
func NewRespProxyWriter ¶
func NewRespProxyWriter(w http.ResponseWriter) *ResponseProxyWriter
func (*ResponseProxyWriter) Header ¶
func (this *ResponseProxyWriter) Header() http.Header
func (*ResponseProxyWriter) Write ¶
func (this *ResponseProxyWriter) Write(bytes []byte) (int, error)
func (*ResponseProxyWriter) WriteHeader ¶
func (this *ResponseProxyWriter) WriteHeader(i int)
Click to show internal directories.
Click to hide internal directories.