code: func NewPlugin(opts ...Option) *Plugin {
  	p := &Plugin{}
  
  	p.PluginName = "grpc"
  	//p.HTTP= &rest.DefaultPlugin // turned off by default
  
  	for _, o := range opts {
  		o(p)
  	}
  
  	if p.Deps.Log == nil {
  		p.Deps.Log = logging.ForPlugin(p.String())
  	}
  	if p.Deps.Cfg == nil {
  		p.Deps.Cfg = config.ForPlugin(p.String(),
  			config.WithExtraFlags(func(flags *config.FlagSet) {
  				flags.String(grpcPortFlag(p.PluginName), "", fmt.Sprintf(
  					"Configure %q server port", p.String()))
  			}))
  	}
  
  	return p
  }
docs: // NewPlugin creates a new Plugin with the provided Options.