Namespace: go.std.net.http.cgi
v1.0Contents
Summary
Provides a low-level interface to the net/http/cgi package.
Package cgi implements CGI (Common Gateway Interface) as specified
in RFC 3875.
Note that using CGI means starting a new process to handle each
request, which is typically less efficient than using a
long-running server. This package is intended primarily for
compatibility with existing systems.
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
-
(None.)
Functions, Macros, and Special Forms
-
Request
Function v1.0(Request)
Request returns the HTTP request as represented in the current
environment. This assumes the current program is being run
by a web server in a CGI environment.
The returned Request's Body is populated, if applicable.
Go returns: (*net/http.Request, error)
Joker input arguments: []
Joker returns: [^go.std.net.http/*Request, ^Error] -
Serve
Function v1.0(Serve handler)
Serve executes the provided Handler on the currently active CGI
request, if any. If there's no current CGI environment
an error is returned. The provided handler may be nil to use
http.DefaultServeMux.
Go input arguments: (handler net/http.Handler)
Go returns: error
Joker input arguments: [^go.std.net.http/Handler handler]
Joker returns: ^Error
Types
-
*Handler
Concrete Type v1.0Handler runs an executable in a subprocess with a CGI environment.
-
ServeHTTP
Receiver for *Handler v1.0([rw req])
-
Handler
Concrete Type v1.0Handler runs an executable in a subprocess with a CGI environment.
-
arrayOfHandler
Concrete Type v1.0Handler runs an executable in a subprocess with a CGI environment.