Documentation ¶
Index ¶
- type Redirector
- type ResponseWriterProxy
- func (rwp *ResponseWriterProxy) Buffer() *bytes.Buffer
- func (rwp *ResponseWriterProxy) Flush() error
- func (rwp *ResponseWriterProxy) Header() http.Header
- func (rwp *ResponseWriterProxy) Reset()
- func (rwp *ResponseWriterProxy) Write(p []byte) (n int, err error)
- func (rwp *ResponseWriterProxy) WriteHeader(statusCode int)
- type Server
- type Server3
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redirector ¶
type Redirector struct {
// contains filtered or unexported fields
}
func NewRedirector ¶
func NewRedirector(log *zap.Logger, status chan error) (*Redirector, error)
func (*Redirector) Launch ¶
func (s *Redirector) Launch() error
func (*Redirector) Stop ¶
func (s *Redirector) Stop()
type ResponseWriterProxy ¶
type ResponseWriterProxy struct {
// contains filtered or unexported fields
}
func NewResponseWriterProxy ¶
func NewResponseWriterProxy(w http.ResponseWriter) *ResponseWriterProxy
func (*ResponseWriterProxy) Buffer ¶
func (rwp *ResponseWriterProxy) Buffer() *bytes.Buffer
Buffer provides access to an underlying buffer for a manual control
func (*ResponseWriterProxy) Flush ¶
func (rwp *ResponseWriterProxy) Flush() error
func (*ResponseWriterProxy) Header ¶
func (rwp *ResponseWriterProxy) Header() http.Header
func (*ResponseWriterProxy) Reset ¶
func (rwp *ResponseWriterProxy) Reset()
func (*ResponseWriterProxy) Write ¶
func (rwp *ResponseWriterProxy) Write(p []byte) (n int, err error)
func (*ResponseWriterProxy) WriteHeader ¶
func (rwp *ResponseWriterProxy) WriteHeader(statusCode int)
Click to show internal directories.
Click to hide internal directories.