code: func WithPeerResolver(value peerresolver.Provider) options.Opt {
  	return func(p options.Params) {
  		if setter, ok := p.(peerResolverSetter); ok {
  			setter.SetPeerResolver(value)
  		}
  	}
  }
docs: // WithPeerResolver sets the peer resolver that chooses the peer from a discovered list of peers.