BBS Server Structure
This commit is contained in:
7
srv/avalon.py
Normal file
7
srv/avalon.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from avdefs import AccountType
|
||||
|
||||
class AvalonConnection:
|
||||
|
||||
def __init__(self):
|
||||
self.acuser: str = "anon"
|
||||
self.actype: AccountType = AccountType.ANON
|
||||
7
srv/avdefs.py
Normal file
7
srv/avdefs.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from enum import Enum, auto
|
||||
|
||||
class AccountType(Enum):
|
||||
|
||||
ANON = auto()
|
||||
LDAP = auto()
|
||||
AKEY = auto()
|
||||
Reference in New Issue
Block a user