Starting server and forwarding it to onion works

This commit is contained in:
BarsTiger
2023-06-26 00:12:17 +03:00
parent 5719f583bd
commit 3a68723877
18 changed files with 571 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
from dataclasses import dataclass
@dataclass
class ConfigModel:
...
@dataclass
class ServiceModel:
port: int
client_auth_priv_key: str
client_auth_pub_key: str
service_id: str = None
key_content: str = 'ED25519-V3'
key_type: str = 'NEW'