Files
seaweedfs/weed-fs/src/pkg/topology/ip_range.go
T
2012-09-14 01:17:13 -07:00

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
}