1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-23 21:07:03 +00:00

fix #1633 and respect controller's no log option for websocket controllers too

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-09-15 23:37:11 +03:00
parent 3baee7db34
commit e828a96752
4 changed files with 45 additions and 44 deletions

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.
type IPRange struct {
Start net.IP `json:"start" yaml:"Start" toml:"Start"`
End net.IP `json:"end" yaml:"End" toml:"End"`
Start net.IP `ini:"start" json:"start" yaml:"Start" toml:"Start"`
End net.IP `ini:"end" json:"end" yaml:"End" toml:"End"`
}
// IPInRange reports whether a given IP Address is within a range given.