8 lines
174 B
Go
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
|
|
}
|