gohttplib的绑定,暴露Go的http.Server
项目描述
警告: 此库当前附带为OSX编译的gohttplib共享对象。目前它不适用于其他平台。
有关详细信息,请参阅https://github.com/shazow/gohttplib。
用法
from gohttp import route, run @route('/') def index(w, req): w.write("%s %s %s\n" % (req.method, req.host, req.url)) w.write("Hello, world.\n") run(host='127.0.0.1', port=5000)
许可协议
MIT。
项目详情
关闭
gohttp-0.3.3.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | fda1c8499ac24e46ab33e85b5d7ca4d60e17cce63873a2f12d49fed20a66b0fb |
|
MD5 | ab35d7334b2a5708f102885bbfe2cd87 |
|
BLAKE2b-256 | 6d576e38950278d53fd94742b0f111978e989bfe343b6d58036381b161079b76 |