code: func register(e *Endpoint) {
  	endpoints.mu.Lock()
  	defer endpoints.mu.Unlock()
  
  	endpoints.registered = append(endpoints.registered, e)
  }
docs: // register places the endpoint into expvar so that stats are tracked.