mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-17 00:43:41 +08: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
|
|
}
|