code: func NewService(backend *eth.EthAPIBackend, endpoint string, cors, vhosts []string, timeouts rpc.HTTPTimeouts) (*Service, error) {
  	return &Service{
  		endpoint: endpoint,
  		cors:     cors,
  		vhosts:   vhosts,
  		timeouts: timeouts,
  		backend:  backend,
  	}, nil
  }
docs: // NewService constructs a new service instance.