Initial commit (code only without large binaries)
This commit is contained in:
11
EdgeCommon/pkg/iplibrary/default_ip_library_plus.go
Normal file
11
EdgeCommon/pkg/iplibrary/default_ip_library_plus.go
Normal file
@@ -0,0 +1,11 @@
|
||||
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
//go:build plus
|
||||
|
||||
package iplibrary
|
||||
|
||||
// InitPlus 加载商业版IP库
|
||||
// 注意:Plus 版本现在也使用 MaxMind 库,与 InitDefault() 使用相同的逻辑
|
||||
func InitPlus() error {
|
||||
// Plus 版本现在也使用 MaxMind,直接调用 InitDefault()
|
||||
return InitDefault()
|
||||
}
|
||||
Reference in New Issue
Block a user