예제 #1
0
파일: registry.go 프로젝트: rht/ipget
func (r *registry) giveMetric(m *dto.Metric) {
	m.Reset()
	select {
	case r.metricPool <- m:
	default:
	}
}