core/bypass/bypass.go
2022-04-04 11:30:31 +08:00

8 lines
174 B
Go

package bypass
// Bypass is a filter of address (IP or domain).
type Bypass interface {
// Contains reports whether the bypass includes addr.
Contains(addr string) bool
}