package cgi

Import Path
	net/http/cgi (on golang.org and go.dev)

Dependency Relation
	imports 19 packages, and imported by one package

Involved Source Files
	    child.go
	d-> host.go

Exported Type Names

type Handler (struct) Handler runs an executable in a subprocess with a CGI environment. Args []string Dir string Env []string InheritEnv []string Logger *log.Logger Path string PathLocationHandler http.Handler Root string Stderr io.Writer (*T) ServeHTTP(rw http.ResponseWriter, req *http.Request) *T : net/http.Handler
Exported Values
func Request() (*http.Request, error) 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.
func RequestFromMap(params map[string]string) (*http.Request, error) RequestFromMap creates an http.Request from CGI variables. The returned Request's Body field is not populated.
func Serve(handler http.Handler) error 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.