Namespace: go.std.net.http.fcgi
v1.0Contents
Summary
Provides a low-level interface to the net/http/fcgi package.
Package fcgi implements the FastCGI protocol.
See https://fast-cgi.github.io/ for an unofficial mirror of the
original documentation.
Currently only the responder role is supported.
Index
Legend
-
Constant
Variable
Function
Macro
Special form
Type
GoVar
Receiver/Method
Constants
Constants are variables with :const true in their metadata. Joker currently does not recognize them as special; as such, it allows redefining them or their values.-
(None.)
Variables
-
ErrConnClosed
Var v1.0ErrConnClosed 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
Var v1.0ErrRequestAborted is returned by Read when a handler attempts to read the
body of a request that has been aborted by the web server.
Functions, Macros, and Special Forms
-
Serve
Function v1.0(Serve l handler)
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.
Go input arguments: (l net.Listener, handler net/http.Handler)
Go returns: error
Joker input arguments: [^go.std.net/Listener l, ^go.std.net.http/Handler handler]
Joker returns: ^Error
Types
-
(None.)