Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/rubenv/servertiming

Simple library for adding Server-Timing headers (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server-Timing) to your application. A Timing object can be used to gather metrics and format them into the correct format. Create a new instance: Optionally enable name prefixing to preserve the order of metrics (will adjust names though!) Add a few metrics, either by manually specifying the duration: Or by using the start-stop API: Then send it with your response: Timings can be sent as a trailer when using HTTP2, see the example in net/http: https://godoc.org/net/http#example-ResponseWriter--Trailers

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/rubenv/servertiming
Keywords: devtools, go, golang, server-timing
License: MIT
Latest release: over 5 years ago
First release: over 5 years ago
Namespace: github.com/rubenv
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 26 days ago

    Loading...
    Readme
    Loading...