Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ejona86/fcgi

A Go net/http/cgi-like FastCGI client
https://github.com/ejona86/fcgi

fastcgi golang

Last synced: 1 day ago
JSON representation

A Go net/http/cgi-like FastCGI client

Awesome Lists containing this project

README

        

# Go FastCGI client

[![Go Reference](https://pkg.go.dev/badge/github.com/ejona86/fcgi.svg)](https://pkg.go.dev/github.com/ejona86/fcgi)

A FastCGI client for web servers to communicate with FastCGI application
servers, like those implemented in Go with net/http/fcgi, Python, and PHP.
Based on Go's net/http/cgi and net/http/fcgi.

It is designed to be a drop-in replacement for net/http/cgi.

## Usage

```go
http.Handle("/trac/", &fcgi.Handler{
Dialer: &fcgi.NetDialer{
Network: "unix",
Address: "/run/trac.socket",
},
Root: "/trac",
})
```