IP库阶段性提交(未完成)

This commit is contained in:
刘祥超
2022-08-14 19:42:05 +08:00
parent debf4a5249
commit ec02d83ee6
15 changed files with 5117 additions and 3512 deletions

View File

@@ -36,6 +36,10 @@ func NewFileReader(path string) (*FileReader, error) {
}, nil
}
func (this *FileReader) Meta() *Meta {
return this.rawReader.meta
}
func (this *FileReader) Lookup(ip net.IP) *QueryResult {
return this.rawReader.Lookup(ip)
}