Lines Matching defs:exp
3 package exp package
14 type exp struct { struct
15 …k sync.Mutex // expvar panics if you try to register the same var twice, so we must probe it safely
16 registry metrics.Registry
19 func (exp *exp) expHandler(w http.ResponseWriter, r *http.Request) {
55 exp.expvarLock.Lock() argument
69 exp.expvarLock.Lock() argument
81 func (exp *exp) publishCounter(name string, metric metrics.Counter) {
86 func (exp *exp) publishGauge(name string, metric metrics.Gauge) {
90 func (exp *exp) publishGaugeFloat64(name string, metric metrics.GaugeFloat64) {
94 func (exp *exp) publishHistogram(name string, metric metrics.Histogram) {
109 func (exp *exp) publishMeter(name string, metric metrics.Meter) {
118 func (exp *exp) publishTimer(name string, metric metrics.Timer) {
137 func (exp *exp) syncToExpvar() {