mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 18:11:28 +00:00
13 lines
283 B
Go
13 lines
283 B
Go
//go:build !(cgo && linux && !android)
|
|
|
|
package process
|
|
|
|
import (
|
|
"context"
|
|
"net/netip"
|
|
)
|
|
|
|
func FindProcessInfo(searcher Searcher, ctx context.Context, network string, srcIP netip.Addr, srcPort int) (*Info, error) {
|
|
return searcher.FindProcessInfo(ctx, network, srcIP, srcPort)
|
|
}
|