Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IPAnalyzer ¶
type IPAnalyzer interface {
//Init adapter via dbFile
Init(dbFile string) error
//Analyze ip string, return location and isp
Analyze(ip string) (string, string, error)
}
func NewIPAnalyzer ¶
func NewIPAnalyzer(adapterName, dbFile string) (IPAnalyzer, error)
Create a IP analyzer, according to adapterName, initialized via dbFile
type QQIPAnalyzer ¶
type QQIPAnalyzer struct {
// contains filtered or unexported fields
}
IPAnalyzer adapter
Click to show internal directories.
Click to hide internal directories.