Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BuildDate = "" BuildName = "dev" VersionName = "0" )
Functions ¶
func CollectMetricNames ¶
func CollectMetricNames(header string, timings ServerTimings)
CollectMetricNames collects metric names from the given Server-Timing HTTP header field. See https://www.w3.org/TR/server-timing/
func JoinOpenAPIPath ¶
func JoinPath ¶
JoinPath ensures the file-muxer behaviour for redirecting '/path' to '/path/' if not explicitly specified.
func MergeMetrics ¶
func MergeMetrics(src, dest ServerTimings)
MergeMetrics merges timings from 'src' into 'dest'.
Types ¶
type ServerTimings ¶
Click to show internal directories.
Click to hide internal directories.