MCPcopy
hub / github.com/jhao104/proxy_pool / __init__

Method __init__

helper/check.py:92–98  ·  view source on GitHub ↗
(self, work_type, target_queue, thread_name)

Source from the content-addressed store, hash-verified

90 """ 多线程检测 """
91
92 def __init__(self, work_type, target_queue, thread_name):
93 Thread.__init__(self, name=thread_name)
94 self.work_type = work_type
95 self.log = LogHandler("checker")
96 self.proxy_handler = ProxyHandler()
97 self.target_queue = target_queue
98 self.conf = ConfigHandler()
99
100 def run(self):
101 self.log.info("{}ProxyCheck - {}: start".format(self.work_type.title(), self.name))

Callers

nothing calls this directly

Calls 3

LogHandlerClass · 0.90
ProxyHandlerClass · 0.90
ConfigHandlerClass · 0.90

Tested by

no test coverage detected