Package fcgi implements the FastCGI protocol.
The protocol is not an official standard and the original documentation is no longer online. See the Internet Archive's mirror at: https://web.archive.org/web/20150420080736/http://www.fastcgi.com/drupal/node/6?q=node/22
Currently only the responder role is supported.
In the call graph viewer below, each node is a function belonging to this package and its children are the functions it calls—perhaps dynamically.
The root nodes are the entry points of the package: functions that may be called from outside the package. There may be non-exported or anonymous functions among them if they are called dynamically from another package.
Click a node to visit that function's source code.
From there you can visit its callers by
clicking its declaring
Functions may be omitted if they were determined to be unreachable in the particular programs or tests that were analyzed.
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.
ErrRequestAborted is returned by Read when a handler attempts to read the body of a request that has been aborted by the web server.
Serve accepts incoming FastCGI connections on the listener l, creating a new goroutine for each. The goroutine reads requests and then calls handler to reply to them. If l is nil, Serve accepts connections from os.Stdin. If handler is nil, http.DefaultServeMux is used.