xenu_nntp/lib/nntp/tiny/server.py

11 lines
201 B
Python
Raw Normal View History

2024-11-20 21:17:03 -05:00
import enum
class ServerCapability(enum.Flag):
NONE = 0
AUTH = enum.auto()
POST = enum.auto()
class Server():
def __init_(self):
self.capabilities = NNTPServerCapability.NONE