Documentation ¶
Index ¶
- func IPIntoSlices(ip string) ([]string, error)
- func IPIntoSlicesA(ip string) ([]string, error)
- func IPIntoSlicesB(ip string) ([]string, error)
- func LoopUpLocation(locations []string, ip string) bool
- func NewProxy(proxyURL string, dropType bool) (*httputil.ReverseProxy, error)
- func WebGuardFilter(cfg *viper.Viper, req *http.Request) (bool, error)
- type WebGuard
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IPIntoSlices ¶
func IPIntoSlicesA ¶
func IPIntoSlicesB ¶
func LoopUpLocation ¶
LoopUpLocation 查询地理位置是否合法
Types ¶
Click to show internal directories.
Click to hide internal directories.