Skip to main content

Bindings for gohttplib, exposing Go's http.Server

Project description

gohttp: Bindings for gohttplib
==============================

*Warning*: This library currently ships with a shared object of gohttplib
compiled for OSX. It will not work on other platforms at the moment.

See `https://github.com/shazow/gohttplib`_ for details.


Usage
-----

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)


License
-------

MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

gohttp-0.2.tar.gz (2.2 MB view details)

Uploaded Source

gohttp-0.2.macosx-10.9-x86_64.tar.gz (2.2 MB view details)

Uploaded Source

File details

Details for the file gohttp-0.2.tar.gz.

File metadata

  • Download URL: gohttp-0.2.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gohttp-0.2.tar.gz
Algorithm Hash digest
SHA256 142feab65941ea686ac3ce0452ab836a7d6749fb69f0522f5787691f181e486d
MD5 33b2ab84649a0e7ff9aa366391ef441f
BLAKE2b-256 5d10ad076fa1a0e5b6db2bbcfc3e947ca0e874a2226e9d13cd2b654c754f32ad

See more details on using hashes here.

Provenance

File details

Details for the file gohttp-0.2.macosx-10.9-x86_64.tar.gz.

File metadata

File hashes

Hashes for gohttp-0.2.macosx-10.9-x86_64.tar.gz
Algorithm Hash digest
SHA256 2b171b5635dcfd4529586fabddc35297ae6a5f60fbfa39131454fa09f7f0c9f3
MD5 020a1680df4f9577b51198da222a193d
BLAKE2b-256 54f631767518fd337f81dec3cba3ff42f81c73a027e4051b5de78667b14661a3

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page