Documentation
¶
Index ¶
- func McpServer(options *common.ENOptions)
- func RunEnumeration(options *common.ENOptions)
- type CacheableENJob
- type DeepSearchTask
- type ENJob
- type ENJobTask
- type ENSCacheDTO
- type ENSOp
- type ENStatus
- type ENTask
- type ESJob
- func (q *ESJob) AddENJobTask(task ENJobTask)
- func (q *ESJob) AddPluginsTask(keyword string)
- func (q *ESJob) AddTask(keyword string)
- func (q *ESJob) InfoToMap(j *EnJob, ref string) (res map[string][]map[string]string)
- func (q *ESJob) NewEnJob(name string) (n *EnJob)
- func (q *ESJob) OutDataByEnInfo() map[string][]map[string]string
- func (q *ESJob) OutFileByEnInfo(name string) error
- func (q *ESJob) StartENWorkers()
- type EnJob
- type InfoPage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunEnumeration ¶
RunEnumeration 普通任务命令行模式,可批量导入文件查询
Types ¶
type CacheableENJob ¶
type CacheableENJob struct {
Task []DeepSearchTask `json:"task"`
Data map[string][]gjson.Result `json:"data"` // 将 gjson.Result 转换为字符串存储
}
type DeepSearchTask ¶
type ENJob ¶
type ENJob struct {
Task []DeepSearchTask
Data map[string][]gjson.Result
TaskCh chan DeepSearchTask
DataCh chan map[string][]gjson.Result
Total int
Processed int
}
type ENSCacheDTO ¶
type ENSOp ¶
type ENSOp struct {
OrgName string `form:"name" json:"name"`
ScanType string `form:"type" json:"type"`
Filed string `form:"filed" json:"filed"`
Depth int `form:"depth" json:"depth"`
Invest float64 `form:"invest" json:"invest"`
Holds bool `form:"hold" json:"hold"`
Supplier bool `form:"supplier" json:"supplier"`
Branch bool `form:"branch" json:"branch"`
}
ENSOp 用于接收前端传递的参数
type ENTask ¶
type ENTask struct {
TaskName string `json:"name"`
TaskProcessed int `json:"processed"`
TaskTotal int `json:"total"`
Items []DeepSearchTask `json:"items"`
}
type ESJob ¶
type ESJob struct {
JobName string
Jobs chan ENJobTask
Done chan struct{}
// contains filtered or unexported fields
}
func (*ESJob) AddENJobTask ¶
func (*ESJob) AddPluginsTask ¶
func (*ESJob) OutFileByEnInfo ¶
func (*ESJob) StartENWorkers ¶
func (q *ESJob) StartENWorkers()
type EnJob ¶
type EnJob struct {
Done chan struct{}
// contains filtered or unexported fields
}
func (*EnJob) AddTask ¶
func (q *EnJob) AddTask(task DeepSearchTask)
func (*EnJob) SearchByKeyWord ¶
SearchByKeyWord 根据关键词筛选公司
func (*EnJob) StartWorkers ¶
func (q *EnJob) StartWorkers()
Click to show internal directories.
Click to hide internal directories.