sing-box/common/process/searcher_without_name.go

13 lines
283 B
Go
Raw Normal View History

2022-07-24 09:46:25 +00:00
//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)
}