22 lines
273 B
Python
22 lines
273 B
Python
from fastapi import APIRouter
|
|
|
|
router = APIRouter(
|
|
prefix="/proxy",
|
|
tags=["Proxy"]
|
|
)
|
|
|
|
|
|
@router.get("/")
|
|
async def list_proxies():
|
|
return
|
|
|
|
|
|
@router.post("/")
|
|
async def create_proxy():
|
|
return
|
|
|
|
|
|
@router.put("/{proxy_port}/")
|
|
async def edit_proxy():
|
|
return
|