mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-29 20:11:28 +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
|
||
|
}
|