mirror of
https://github.com/Rarebuffalo/securelens-backend.git
synced 2026-06-19 07:00:30 +00:00
updated the architecture
This commit is contained in:
11
app/services/scanner/base.py
Normal file
11
app/services/scanner/base.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
import httpx
|
||||
|
||||
from app.schemas.scan import Issue
|
||||
|
||||
|
||||
class BaseScanner(ABC):
|
||||
@abstractmethod
|
||||
async def scan(self, url: str, response: httpx.Response) -> list[Issue]:
|
||||
pass
|
||||
Reference in New Issue
Block a user