Version: v0.4.4 Latest Latest

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

Go to latest
Published: Apr 17, 2019 License: Apache-2.0 Imports: 14 Imported by: 0


Example using HTTP

This example illustrates wrapping a basic net/http mux. It wraps the globalmux to easily instrument all requests coming into the application.

This example is runnable with go run main.go - it will start listening on port 8080.

Once it's running, in another window, issue a request to the /hello/ endpoint: curl localhost:8080/hello/ and you should see several events appear on STDOUT in the pane running the example.


The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

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