mirror of
https://github.com/catspace-dev/unicheckbot.git
synced 2025-10-28 22:27:26 +03:00
13 lines
253 B
Python
13 lines
253 B
Python
from core.coretypes import Response
|
|
from abc import ABC
|
|
|
|
|
|
class BaseChecker(ABC):
|
|
|
|
def __init__(self, target: str, port: int):
|
|
self.target = target
|
|
self.port = port
|
|
|
|
def check(self) -> Response:
|
|
raise NotImplementedError
|