github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/pkg/cli/server_windows.go (about)

     1  package cli
     2  
     3  import (
     4  	"fmt"
     5  
     6  	"github.com/pyroscope-io/pyroscope/pkg/config"
     7  )
     8  
     9  func NewServer(_ *config.Server) (*Server, error) {
    10  	return nil, fmt.Errorf("server mode is not supported on Windows")
    11  }
    12  
    13  func (s *Server) Stop() { return }
    14  
    15  func (s *Server) Start() error { return nil }