Documentation ¶
Overview ¶
Package fcgi implements the FastCGI protocol. Currently only the responder role is supported. The protocol is defined at http://www.fastcgi.com/drupal/node/6?q=node/22
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrConnClosed = errors.New("fcgi: connection to web server closed")
ErrConnClosed is returned by Read when a handler attempts to read the body of a request after the connection to the web server has been closed.
var ErrRequestAborted = errors.New("fcgi: request aborted by web server")
ErrRequestAborted is returned by Read when a handler attempts to read the body of a request that has been aborted by the web server.
Functions ¶
Types ¶
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
Request holds the state for an in-progress request. As soon as it's complete, it's converted to an http.Request.
type ResponseWriter ¶
type ResponseWriter interface { Header() http.Header Write([]byte) (int, error) WriteHeader(int) WriteErr([]byte) (int, error) }
A ResponseWriter interface is used by an HTTP handler to construct an HTTP response.
A ResponseWriter may not be used after the Handler.ServeHTTP method has returned.