fix: add groupExistenceBatchReader interface and update test stub for release branch compatibility

This commit is contained in:
erio
2026-03-01 15:53:45 +08:00
parent 2268e93aec
commit d4231150a9
2 changed files with 18 additions and 16 deletions

View File

@@ -336,6 +336,10 @@ type ProxyExitInfoProber interface {
ProbeProxy(ctx context.Context, proxyURL string) (*ProxyExitInfo, int64, error)
}
type groupExistenceBatchReader interface {
ExistsByIDs(ctx context.Context, ids []int64) (map[int64]bool, error)
}
type proxyQualityTarget struct {
Target string
URL string