mjl blog
April 15th 2014

Scgi server for go

Just created a new package scgi, read the docs at godoc.org. It’s an SCGI server that works with package http.

There is other go code available for serving scgi, but it seems to work outside of the http package, so tries to do too much.

With this package, you change your existing http.ListenAndServe into a net.Listen and scgi.Serve, and you’re done.

FYI, I’m using this with my httpd for inferno.