docs: rewrite using manpage style (#327)

This still needs cleanup, but this is a first pass the cleans some
cruft and documents our style (in middleware.md) and makes all the
docs match that style.
This commit is contained in:
Miek Gieben
2016-10-10 20:13:22 +01:00
committed by GitHub
parent c22b7b2252
commit faf83b00dd
18 changed files with 154 additions and 128 deletions

View File

@@ -1,6 +1,7 @@
# pprof
pprof publishes runtime profiling data at endpoints under /debug/pprof. You can visit /debug/pprof
*pprof* publishes runtime profiling data at endpoints under /debug/pprof. You can visit
`/debug/pprof`
on your site for an index of the available endpoints. By default it will listen on localhost:6053.
> This is a debugging tool. Certain requests (such as collecting execution traces) can be slow. If
@@ -10,6 +11,8 @@ For more information, please see [Go's pprof
documentation](https://golang.org/pkg/net/http/pprof/s://golang.org/pkg/net/http/pprof/) and read
[Profiling Go Programs](https://blog.golang.org/profiling-go-programs).
There is not configuration.
## Syntax
~~~