code: func New(dispatcher service.Dispatcher, context context.Client, channelID string, preferredPeers []string, opts ...options.Opt) *PeerResolver {
  	params := defaultParams(context, channelID)
  	options.Apply(params, opts)
  
  	logger.Debugf("Creating new PreferPeer peer resolver with options: Preferred Peers [%s]", preferredPeers)
  
  	return &PeerResolver{
  		params:                 params,
  		preferredPeers:         preferredPeers,
  		preferOrgResolver:      preferorg.New(dispatcher, context, channelID, opts...),
  		minBlockHeightResolver: minblockheight.New(dispatcher, context, channelID, opts...),
  	}
  }
docs: // New returns a new "prefer peer" resolver.