Documentation
¶
Overview ¶
httpadapter demonstrates using stdlib net/http handlers inside gogo.
Run:
CGO_ENABLED=1 go run -tags gogo ./examples/httpadapter curl http://127.0.0.1:3005/ curl http://127.0.0.1:3005/debug/vars curl http://127.0.0.1:3005/debug/pprof/goroutine?debug=1 curl -o cpu.pprof 'http://127.0.0.1:3005/debug/pprof/profile?seconds=5'
Click to show internal directories.
Click to hide internal directories.