refactor: extract NostrRelay

This commit is contained in:
Vlad Stan 2023-02-17 14:23:58 +02:00
parent 2ebc83a286
commit 855812cb8f
8 changed files with 143 additions and 141 deletions

View file

@ -30,8 +30,9 @@ from .crud import (
update_relay,
)
from .helpers import extract_domain, normalize_public_key
from .models import BuyOrder, NostrAccount, NostrPartialAccount, NostrRelay
from .models import BuyOrder, NostrAccount, NostrPartialAccount
from .relay.client_manager import NostrClientConnection, NostrClientManager
from .relay.relay import NostrRelay
client_manager = NostrClientManager()