mirror of
https://github.com/zu1k/nali.git
synced 2025-01-22 21:29:02 +08:00
docs: Update readme zh
Signed-off-by: zu1k <i@zu1k.com>
This commit is contained in:
parent
222bd54dd0
commit
44606cde27
@ -36,6 +36,7 @@
|
|||||||
- IPIP 数据库 (可选)
|
- IPIP 数据库 (可选)
|
||||||
- ip2region 数据库 (可选)
|
- ip2region 数据库 (可选)
|
||||||
- DB-IP 数据库 (可选)
|
- DB-IP 数据库 (可选)
|
||||||
|
- IP2Location DB3 LITE 数据库 (可选)
|
||||||
- CDN 服务提供商查询
|
- CDN 服务提供商查询
|
||||||
- 支持管道处理
|
- 支持管道处理
|
||||||
- 支持交互式查询
|
- 支持交互式查询
|
||||||
@ -246,6 +247,7 @@ $ nali update --db qqwry,cdn
|
|||||||
- IPIP `['ipip']`
|
- IPIP `['ipip']`
|
||||||
- Ip2Resion `['ip2region', 'i2r']`
|
- Ip2Resion `['ip2region', 'i2r']`
|
||||||
- DBIP `['dbip', 'db-ip']`
|
- DBIP `['dbip', 'db-ip']`
|
||||||
|
- IP2Location `['ip2location']`
|
||||||
|
|
||||||
#### Windows平台
|
#### Windows平台
|
||||||
|
|
||||||
@ -320,6 +322,7 @@ export NALI_HOME=/var/nali
|
|||||||
- [IPIP数据库](https://www.ipip.net/product/ip.html)
|
- [IPIP数据库](https://www.ipip.net/product/ip.html)
|
||||||
- [IPIP数据库解析](https://github.com/ipipdotnet/ipdb-go)
|
- [IPIP数据库解析](https://github.com/ipipdotnet/ipdb-go)
|
||||||
- [ip2region数据库](https://github.com/lionsoul2014/ip2region)
|
- [ip2region数据库](https://github.com/lionsoul2014/ip2region)
|
||||||
|
- [IP2Location DB3 LITE](https://lite.ip2location.com/database/db3-ip-country-region-city)
|
||||||
- [Cobra CLI库](https://github.com/spf13/cobra)
|
- [Cobra CLI库](https://github.com/spf13/cobra)
|
||||||
- [Nali-cli](https://github.com/SukkaW/nali-cli)
|
- [Nali-cli](https://github.com/SukkaW/nali-cli)
|
||||||
|
|
||||||
|
@ -238,7 +238,7 @@ supported database:
|
|||||||
- Chunzhen `['chunzhen', 'qqwry']`
|
- Chunzhen `['chunzhen', 'qqwry']`
|
||||||
- IPIP `['ipip']`
|
- IPIP `['ipip']`
|
||||||
- Ip2Resion `['ip2region', 'i2r']`
|
- Ip2Resion `['ip2region', 'i2r']`
|
||||||
- - DBIP `['dbip', 'db-ip']`
|
- DBIP `['dbip', 'db-ip']`
|
||||||
- IP2Location `['ip2location']`
|
- IP2Location `['ip2location']`
|
||||||
|
|
||||||
#### Windows
|
#### Windows
|
||||||
|
@ -6,11 +6,11 @@ import (
|
|||||||
"github.com/zu1k/nali/pkg/cdn"
|
"github.com/zu1k/nali/pkg/cdn"
|
||||||
"github.com/zu1k/nali/pkg/dbif"
|
"github.com/zu1k/nali/pkg/dbif"
|
||||||
"github.com/zu1k/nali/pkg/geoip"
|
"github.com/zu1k/nali/pkg/geoip"
|
||||||
|
"github.com/zu1k/nali/pkg/ip2location"
|
||||||
"github.com/zu1k/nali/pkg/ip2region"
|
"github.com/zu1k/nali/pkg/ip2region"
|
||||||
"github.com/zu1k/nali/pkg/ipip"
|
"github.com/zu1k/nali/pkg/ipip"
|
||||||
"github.com/zu1k/nali/pkg/qqwry"
|
"github.com/zu1k/nali/pkg/qqwry"
|
||||||
"github.com/zu1k/nali/pkg/zxipv6wry"
|
"github.com/zu1k/nali/pkg/zxipv6wry"
|
||||||
"github.com/zu1k/nali/pkg/ip2location"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type DB struct {
|
type DB struct {
|
||||||
|
@ -5,11 +5,11 @@ import (
|
|||||||
|
|
||||||
"github.com/zu1k/nali/pkg/cdn"
|
"github.com/zu1k/nali/pkg/cdn"
|
||||||
"github.com/zu1k/nali/pkg/geoip"
|
"github.com/zu1k/nali/pkg/geoip"
|
||||||
|
"github.com/zu1k/nali/pkg/ip2location"
|
||||||
"github.com/zu1k/nali/pkg/ip2region"
|
"github.com/zu1k/nali/pkg/ip2region"
|
||||||
"github.com/zu1k/nali/pkg/ipip"
|
"github.com/zu1k/nali/pkg/ipip"
|
||||||
"github.com/zu1k/nali/pkg/qqwry"
|
"github.com/zu1k/nali/pkg/qqwry"
|
||||||
"github.com/zu1k/nali/pkg/zxipv6wry"
|
"github.com/zu1k/nali/pkg/zxipv6wry"
|
||||||
"github.com/zu1k/nali/pkg/ip2location"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type QueryType uint
|
type QueryType uint
|
||||||
|
Loading…
Reference in New Issue
Block a user