mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-01 19:06:43 +00:00
22 lines
276 B
Go
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
|
|
}
|