mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-23 06:20:48 +02:00
21 lines
273 B
Go
21 lines
273 B
Go
package topology
|
|
|
|
import (
|
|
|
|
)
|
|
|
|
|
|
type IpRange struct {
|
|
inclusives []string
|
|
exclusives []string
|
|
}
|
|
|
|
func (r *IpRange) Match(ip string) bool {
|
|
// TODO
|
|
// for _, exc := range r.exclusives {
|
|
// if exc
|
|
// }
|
|
// for _, inc := range r.inclusives {
|
|
// }
|
|
return true
|
|
} |