code: func NewCollector(store *store.MemoryStore) *Collector {
  	return &Collector{
  		store:    store,
  		stopChan: make(chan struct{}),
  		doneChan: make(chan struct{}),
  	}
  }
docs: // NewCollector creates a new metrics collector