httpadapter

command
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

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'

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL