fcgi - The Go Programming Language

Golang

Package fcgi

import "net/http/fcgi"
Overview
Index

Overview ?

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

func Serve(l net.Listener, handler http.Handler) error

Package files

child.go fcgi.go

func Serve

func Serve(l net.Listener, handler http.Handler) error

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.