MCPcopy Create free account
hub / github.com/maruel/panicparse / ExampleSnapshotHandler

Function ExampleSnapshotHandler

stack/webstack/example_test.go:18–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16)
17
18func ExampleSnapshotHandler() {
19 http.HandleFunc("/debug/panicparse", webstack.SnapshotHandler)
20
21 // Access as http://localhost:6060/debug/panicparse
22 log.Println(http.ListenAndServe("localhost:6060", nil))
23}
24
25func ExampleSnapshotHandler_complex() {
26 // This example does a few things:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…