Documentation
¶
Index ¶
- Variables
- type SCANClientHelper
- func (h *SCANClientHelper) SCAN_BasicCrawler(ctx context.Context, node string, req *SCAN_BasicCrawlerRequest) (*SCAN_BasicCrawlerResponse, error)
- func (h *SCANClientHelper) SCAN_DownloadXrayAndRad(ctx context.Context, node string, req *SCAN_DownloadXrayAndRadRequest) (*SCAN_DownloadXrayAndRadResponse, error)
- func (h *SCANClientHelper) SCAN_GetRunningTasks(ctx context.Context, node string, req *SCAN_GetRunningTasksRequest) (*SCAN_GetRunningTasksResponse, error)
- func (h *SCANClientHelper) SCAN_InvokeScript(ctx context.Context, node string, req *SCAN_InvokeScriptRequest) (*SCAN_InvokeScriptResponse, error)
- func (h *SCANClientHelper) SCAN_IsXrayAndRadAvailable(ctx context.Context, node string, req *SCAN_IsXrayAndRadAvailableRequest) (*SCAN_IsXrayAndRadAvailableResponse, error)
- func (h *SCANClientHelper) SCAN_ProxyCollector(ctx context.Context, node string, req *SCAN_ProxyCollectorRequest) (*SCAN_ProxyCollectorResponse, error)
- func (h *SCANClientHelper) SCAN_RadCrawler(ctx context.Context, node string, req *SCAN_RadCrawlerRequest) (*SCAN_RadCrawlerResponse, error)
- func (h *SCANClientHelper) SCAN_ScanFingerprint(ctx context.Context, node string, req *SCAN_ScanFingerprintRequest) (*SCAN_ScanFingerprintResponse, error)
- func (h *SCANClientHelper) SCAN_StartScript(ctx context.Context, node string, req *SCAN_StartScriptRequest) (*SCAN_StartScriptResponse, error)
- func (h *SCANClientHelper) SCAN_StopTask(ctx context.Context, node string, req *SCAN_StopTaskRequest) (*SCAN_StopTaskResponse, error)
- type SCANServerHelper
- type SCAN_BasicCrawlerRequest
- type SCAN_BasicCrawlerResponse
- type SCAN_DownloadXrayAndRadRequest
- type SCAN_DownloadXrayAndRadResponse
- type SCAN_GetRunningTasksRequest
- type SCAN_GetRunningTasksResponse
- type SCAN_InvokeScriptRequest
- type SCAN_InvokeScriptResponse
- type SCAN_IsXrayAndRadAvailableRequest
- type SCAN_IsXrayAndRadAvailableResponse
- type SCAN_ProxyCollectorRequest
- type SCAN_ProxyCollectorResponse
- type SCAN_RadCrawlerRequest
- type SCAN_RadCrawlerResponse
- type SCAN_ScanFingerprintRequest
- type SCAN_ScanFingerprintResponse
- type SCAN_StartScriptRequest
- type SCAN_StartScriptResponse
- type SCAN_StopTaskRequest
- type SCAN_StopTaskResponse
- type Task
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MethodList = []string{"SCAN_StartScript", "SCAN_GetRunningTasks", "SCAN_StopTask", "SCAN_RadCrawler", "SCAN_DownloadXrayAndRad", "SCAN_IsXrayAndRadAvailable", "SCAN_ScanFingerprint", "SCAN_BasicCrawler", "SCAN_ProxyCollector", "SCAN_InvokeScript"}
)
Functions ¶
This section is empty.
Types ¶
type SCANClientHelper ¶
type SCANClientHelper struct {
// contains filtered or unexported fields
}
func GenerateSCANClientHelper ¶
func GenerateSCANClientHelper(callRpc callRpcHandler) *SCANClientHelper
func (*SCANClientHelper) SCAN_BasicCrawler ¶
func (h *SCANClientHelper) SCAN_BasicCrawler(ctx context.Context, node string, req *SCAN_BasicCrawlerRequest) (*SCAN_BasicCrawlerResponse, error)
func (*SCANClientHelper) SCAN_DownloadXrayAndRad ¶
func (h *SCANClientHelper) SCAN_DownloadXrayAndRad(ctx context.Context, node string, req *SCAN_DownloadXrayAndRadRequest) (*SCAN_DownloadXrayAndRadResponse, error)
func (*SCANClientHelper) SCAN_GetRunningTasks ¶
func (h *SCANClientHelper) SCAN_GetRunningTasks(ctx context.Context, node string, req *SCAN_GetRunningTasksRequest) (*SCAN_GetRunningTasksResponse, error)
func (*SCANClientHelper) SCAN_InvokeScript ¶
func (h *SCANClientHelper) SCAN_InvokeScript(ctx context.Context, node string, req *SCAN_InvokeScriptRequest) (*SCAN_InvokeScriptResponse, error)
func (*SCANClientHelper) SCAN_IsXrayAndRadAvailable ¶
func (h *SCANClientHelper) SCAN_IsXrayAndRadAvailable(ctx context.Context, node string, req *SCAN_IsXrayAndRadAvailableRequest) (*SCAN_IsXrayAndRadAvailableResponse, error)
func (*SCANClientHelper) SCAN_ProxyCollector ¶
func (h *SCANClientHelper) SCAN_ProxyCollector(ctx context.Context, node string, req *SCAN_ProxyCollectorRequest) (*SCAN_ProxyCollectorResponse, error)
func (*SCANClientHelper) SCAN_RadCrawler ¶
func (h *SCANClientHelper) SCAN_RadCrawler(ctx context.Context, node string, req *SCAN_RadCrawlerRequest) (*SCAN_RadCrawlerResponse, error)
func (*SCANClientHelper) SCAN_ScanFingerprint ¶
func (h *SCANClientHelper) SCAN_ScanFingerprint(ctx context.Context, node string, req *SCAN_ScanFingerprintRequest) (*SCAN_ScanFingerprintResponse, error)
func (*SCANClientHelper) SCAN_StartScript ¶
func (h *SCANClientHelper) SCAN_StartScript(ctx context.Context, node string, req *SCAN_StartScriptRequest) (*SCAN_StartScriptResponse, error)
func (*SCANClientHelper) SCAN_StopTask ¶
func (h *SCANClientHelper) SCAN_StopTask(ctx context.Context, node string, req *SCAN_StopTaskRequest) (*SCAN_StopTaskResponse, error)
type SCANServerHelper ¶
type SCANServerHelper struct { DoSCAN_StartScript func(ctx context.Context, node string, req *SCAN_StartScriptRequest, broker *mq.Broker) (*SCAN_StartScriptResponse, error) DoSCAN_GetRunningTasks func(ctx context.Context, node string, req *SCAN_GetRunningTasksRequest, broker *mq.Broker) (*SCAN_GetRunningTasksResponse, error) DoSCAN_StopTask func(ctx context.Context, node string, req *SCAN_StopTaskRequest, broker *mq.Broker) (*SCAN_StopTaskResponse, error) DoSCAN_RadCrawler func(ctx context.Context, node string, req *SCAN_RadCrawlerRequest, broker *mq.Broker) (*SCAN_RadCrawlerResponse, error) DoSCAN_DownloadXrayAndRad func(ctx context.Context, node string, req *SCAN_DownloadXrayAndRadRequest, broker *mq.Broker) (*SCAN_DownloadXrayAndRadResponse, error) DoSCAN_IsXrayAndRadAvailable func(ctx context.Context, node string, req *SCAN_IsXrayAndRadAvailableRequest, broker *mq.Broker) (*SCAN_IsXrayAndRadAvailableResponse, error) DoSCAN_ScanFingerprint func(ctx context.Context, node string, req *SCAN_ScanFingerprintRequest, broker *mq.Broker) (*SCAN_ScanFingerprintResponse, error) DoSCAN_BasicCrawler func(ctx context.Context, node string, req *SCAN_BasicCrawlerRequest, broker *mq.Broker) (*SCAN_BasicCrawlerResponse, error) DoSCAN_ProxyCollector func(ctx context.Context, node string, req *SCAN_ProxyCollectorRequest, broker *mq.Broker) (*SCAN_ProxyCollectorResponse, error) DoSCAN_InvokeScript func(ctx context.Context, node string, req *SCAN_InvokeScriptRequest, broker *mq.Broker) (*SCAN_InvokeScriptResponse, error) }
func NewSCANServerHelper ¶
func NewSCANServerHelper() *SCANServerHelper
type SCAN_BasicCrawlerResponse ¶
type SCAN_BasicCrawlerResponse struct{}
type SCAN_DownloadXrayAndRadResponse ¶
type SCAN_DownloadXrayAndRadResponse struct{}
type SCAN_GetRunningTasksRequest ¶
type SCAN_GetRunningTasksRequest struct{}
type SCAN_GetRunningTasksResponse ¶
type SCAN_GetRunningTasksResponse struct {
Tasks []*Task
}
type SCAN_InvokeScriptResponse ¶
type SCAN_InvokeScriptResponse struct {
Data interface{}
}
type SCAN_IsXrayAndRadAvailableRequest ¶
type SCAN_IsXrayAndRadAvailableRequest struct{}
type SCAN_ProxyCollectorRequest ¶
type SCAN_ProxyCollectorRequest struct {
Port int
}
type SCAN_ProxyCollectorResponse ¶
type SCAN_ProxyCollectorResponse struct{}
type SCAN_RadCrawlerRequest ¶
type SCAN_RadCrawlerResponse ¶
type SCAN_RadCrawlerResponse struct{}
type SCAN_ScanFingerprintResponse ¶
type SCAN_ScanFingerprintResponse struct{}
type SCAN_StartScriptRequest ¶
type SCAN_StartScriptRequest struct {
Content string
}
type SCAN_StartScriptResponse ¶
type SCAN_StartScriptResponse struct{}
type SCAN_StopTaskRequest ¶
type SCAN_StopTaskRequest struct {
TaskId string
}
type SCAN_StopTaskResponse ¶
type SCAN_StopTaskResponse struct{}
Click to show internal directories.
Click to hide internal directories.