code: func AddFactory(m distributor.FactoryMap) {
  	m[(*jobsim.Config)(nil)] = func(c context.Context, cfg *distributor.Config) (distributor.D, error) {
  		return &jobsimDist{c, cfg}, nil
  	}
  }
docs: // AddFactory adds this distributor implementation into the distributor
  // Registry.