Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ejona86/fcgi
- Owner: ejona86
- License: bsd-3-clause
- Created: 2017-08-02T03:50:09.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-25T15:45:26.000Z (10 months ago)
- Last Synced: 2024-06-20T00:40:57.836Z (4 months ago)
- Topics: fastcgi, golang
- Language: Go
- Homepage:
- Size: 40 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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",
})
```