sing-box/experimental/libbox/pprof_stub.go
2023-02-20 11:07:49 +08:00

22 lines
276 B
Go

//go:build !debug
package libbox
import (
"os"
)
type PProfServer struct{}
func NewPProfServer(port int) *PProfServer {
return &PProfServer{}
}
func (s *PProfServer) Start() error {
return os.ErrInvalid
}
func (s *PProfServer) Close() error {
return os.ErrInvalid
}