Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetCache (0.14 sec)

  1. cmd/metrics-v3-types.go

    	mg.descriptorMap = make(map[MetricName]MetricDescriptor, len(mg.Descriptors))
    	for _, desc := range mg.Descriptors {
    		mg.descriptorMap[desc.Name] = desc
    	}
    }
    
    // SetCache is a helper to initialize MetricsGroup. It sets the cache object.
    func (mg *MetricsGroup) SetCache(c *metricsCache) {
    	mg.cache = c
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
Back to top