Former-commit-id: 181b7b504f22c3510dbeef3d6fbd43af226835e2
This commit is contained in:
Hank Shen 2020-06-18 13:42:57 +08:00
parent 6557dcf6c5
commit 7aecacdffe

View File

@ -13,8 +13,8 @@ https://github.com/kataras/iris/issues/1453
// IPRange is a structure that holds the start and end of a range of IP Addresses. // IPRange is a structure that holds the start and end of a range of IP Addresses.
type IPRange struct { type IPRange struct {
Start net.IP `json:"start" yaml:"Start" toml"Start"` Start net.IP `json:"start" yaml:"Start" toml:"Start"`
End net.IP `json:"end" yaml:"End" toml"End"` End net.IP `json:"end" yaml:"End" toml:"End"`
} }
// IPInRange reports whether a given IP Address is within a range given. // IPInRange reports whether a given IP Address is within a range given.