Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequestsCounter ¶ added in v1.2.0
func RequestsCounter() *pkgmetrics.RequestsCounter
RequestsCounter returns the shared requests counter for external packages.
func SetRequestsCounter ¶ added in v1.2.0
func SetRequestsCounter(rc *pkgmetrics.RequestsCounter)
SetRequestsCounter sets the shared requests counter. Must be called before the server starts serving requests (typically from main.init).
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
multirange
countingWriter counts how many bytes have been written to it.
|
countingWriter counts how many bytes have been written to it. |
Click to show internal directories.
Click to hide internal directories.