All Projects → iwind → gofcgi

iwind / gofcgi

Licence: MIT license
golang client for fastcgi

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to gofcgi

node-fastcgi
Create FastCGI applications with node.js
Stars: ✭ 49 (+250%)
Mutual labels:  fcgi, fastcgi
connectycube-flutter-call-kit
A Flutter plugin for displaying call screen when the app in the background or terminated.
Stars: ✭ 35 (+150%)
Mutual labels:  call
Didicallcar
这是我自己做的一个类似滴滴打车的Android出行项目,主要针对滴滴等出行平台一直饱受质疑的“人车不符”问题,以及当前越发火热的或计划和出海战略,给出行项目增加了下面几个功能: 1. RFID识别验证功能:在司机证件或者车内识别硬件嵌入RFID识别芯片,乘客使用手机读取到芯片信息,并且通过网络发送到出行平台数据库进行验证(我用JNI加了一个C语言的MD5加密算法对识别到的信息进行了加密)。如果不是合规的“人”或“车”,则不能完成订单并向平台或监管单位汇报当前位置。(为了方便读者测试,可以使用手机读取任何一个加密或非加密RFID芯片,比如银行卡、公交卡等,我在代码中的验证前阶段把芯片信息都换成我自己的司机信息,确保读者测试时可以收到服务器的回复) 2. 海外版功能:点击切换当前语言。 3. 司机证件号码识别功能:读取司机证件上的证件号码,也可以用来与出行平台数据库的接单司机信息进行。I complete this whole project on my own . Including Android application programming,web server ( Apache + PHP + MySQL), and UI. 1.Map route planing。You can use mobile phone choose pick up & destination address,application provide address name hint and draw optimized route for user , then call car for you. 2.RFID authentication function:User can use application to scan driver license or other RFID hardware, then use NDK MD5 algorithm encrypt RFID number, and send it to Web Server Database, check with driver information and authenticate ID number , if ID number coherent with driver info , send back driver information to User and continue call car order . record user location and alert if ID not coherent. 3.Driver License Number Recognition : Application can recognize driver license digit number ,and also can send to web server for authentication & feed back result to user.
Stars: ✭ 935 (+6578.57%)
Mutual labels:  call
Nextcloud Spreed Signaling
Standalone signaling server for Nextcloud Talk.
Stars: ✭ 201 (+1335.71%)
Mutual labels:  call
Spreed
📞😀 Nextcloud Talk – chat, video & audio calls for Nextcloud
Stars: ✭ 994 (+7000%)
Mutual labels:  call
cod-api
A thin Call of Duty API wrapper written in TypeScript
Stars: ✭ 40 (+185.71%)
Mutual labels:  call
Linphone Android
Linphone.org mirror for linphone-android (https://gitlab.linphone.org/BC/public/linphone-android)
Stars: ✭ 740 (+5185.71%)
Mutual labels:  call
fcgi-function
A cross-platform module to writing C/C++ service for nginx.
Stars: ✭ 33 (+135.71%)
Mutual labels:  fastcgi
homebridge-callmonitor
Signals incoming and outgoing calls using the call monitor facility in Fritz!Box devices via HomeKit
Stars: ✭ 25 (+78.57%)
Mutual labels:  call
React Native Phone Call
Initiate a phone call in React Native
Stars: ✭ 146 (+942.86%)
Mutual labels:  call
Hpomb
HPomb closed-source project for SMS , Call & Mail bombing available for Window , Linux , MacOS And Android( Termux )
Stars: ✭ 102 (+628.57%)
Mutual labels:  call
Bomberthon
Best Bombing Tool with WhatsApp, Instagram, SMS bomber
Stars: ✭ 84 (+500%)
Mutual labels:  call
SmsForwarder
短信转发器——监控Android手机短信、来电、APP通知,并根据指定规则转发到其他手机:钉钉群自定义机器人、钉钉企业内机器人、企业微信群机器人、飞书机器人、企业微信应用消息、邮箱、bark、webhook、Telegram机器人、Server酱、PushPlus、手机短信等。包括主动控制服务端与客户端,让你轻松远程发短信、查短信、查通话、查话簿、查电量等。(V3.0 新增)PS.这个APK主要是学习与自用,如有BUG请提ISSUE,同时欢迎大家提PR指正
Stars: ✭ 8,386 (+59800%)
Mutual labels:  call
Nexmo Node Code Snippets
NodeJS code examples for using Nexmo
Stars: ✭ 36 (+157.14%)
Mutual labels:  call
SierraChartZorroPlugin
A Zorro broker API plugin for Sierra Chart, written in Win32 C++.
Stars: ✭ 22 (+57.14%)
Mutual labels:  call
Call Forwarding Node
A sample implementation of advanced call forwarding using Twilio, Node.js and Express.js.
Stars: ✭ 6 (-57.14%)
Mutual labels:  call
Rn Voice Video Call
Usage of WebRTC for voice & video call with peer-to-peer or conference with Login and Register screen using response & Async storage with Call Dis/Connect, Failed and Idle views in react native. Youtube:
Stars: ✭ 100 (+614.29%)
Mutual labels:  call
Linphone Desktop
Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of git://git.linphone.org/linphone-desktop.git
Stars: ✭ 212 (+1414.29%)
Mutual labels:  call
http2fcgi
a quick & tiny http to fast-cgi reverse proxy, let's serve our php,python ... etc apps with no hassle!
Stars: ✭ 57 (+307.14%)
Mutual labels:  fastcgi
tvoip
Terminal-based P2P VoIP application (TeamSpeak-/Skype-like voice chatting over LAN or Internet)
Stars: ✭ 34 (+142.86%)
Mutual labels:  call

Description

a golang client for fastcgi, support connection pool and easy to use.

Pool usage

// retrieve shared pool
pool := fcgi.SharedPool("tcp", "127.0.0.1:9000", 16)
client, err := pool.Client()
if err != nil {
    return
}

// create a request
req := fcgi.NewRequest()
params := map[string]string{
	"SCRIPT_FILENAME": "[PATH TO YOUR SCRIPT]/index.php",
	"SERVER_SOFTWARE": "gofcgi/1.0.0",
	"REMOTE_ADDR":     "127.0.0.1",
	"QUERY_STRING":    "NAME=VALUE",

	"SERVER_NAME":       "example.com",
	"SERVER_ADDR":       "127.0.0.1:80",
	"SERVER_PORT":       "80",
	"REQUEST_URI":       "/index.php",
	"DOCUMENT_ROOT":     "[PATH TO YOUR SCRIPT]",
	"GATEWAY_INTERFACE": "CGI/1.1",
	"REDIRECT_STATUS":   "200",
	"HTTP_HOST":         "example.com",

	"REQUEST_METHOD": "POST",                              // for post method
	"CONTENT_TYPE":   "application/x-www-form-urlencoded", // for post
}

req.SetTimeout(5 * time.Second)
req.SetParams(params)

// set request body
r := bytes.NewReader([]byte("name=lu&age=20"))
req.SetBody(r, uint32(r.Len()))

// call request
resp, err := client.Call(req)
if err != nil {
    return
}

// read data from response
data, err := ioutil.ReadAll(resp.Body)
if err != nil {
    return
}
log.Println("resp body:", string(data))
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].