Migrated to dragonion_core

This commit is contained in:
BarsTiger
2023-07-17 00:06:35 +03:00
parent 1497e0ced8
commit 7945194d5a
10 changed files with 9 additions and 93 deletions

View File

@@ -1 +0,0 @@
pass

View File

@@ -1,15 +0,0 @@
import sqlitedict
class AuthFile(sqlitedict.SqliteDict):
"""
Valid AuthFile has fields:
host - .onion url of service
auth - v3 onion auth string in format, that can be written to .auth_private file
"""
def __init__(self, service):
super().__init__(
filename=f'{service}.auth',
tablename='auth',
autocommit=True
)