Commit Graph

6 Commits

Author SHA1 Message Date
trueold89 eb1dc48a11
Add Controller object
- init controller.py
- Add Controller class
- Add AUTH_PASSWD env var
- Add new method 'is_user_exist' to CacheDB
2024-08-07 19:01:48 +03:00
trueold89 697dac6922
Rewrite CacheDB && Implements UserStates 2024-08-06 13:59:44 +03:00
trueold89 dd27264fd5
Add Redis implementation of CacheDB
- Add RedisCache class
- Add REDIS_HOST env var
2024-08-05 21:21:13 +03:00
trueold89 1e3ce3a55e
Add PN_CACHE env value
- Add ENV abstract class to static
- Init static.env
- Add PN_CACHE env
2024-08-05 17:43:58 +03:00
trueold89 015e01b6be
Add PythonCache implementation of CacheDB
- add User class to db.types
- init db.cache
- Add PythonCache class
2024-08-05 16:43:00 +03:00
trueold89 ba696f4c56
Add CacheDB abstract class
- init tubot.db
- init tubot.db.types
- init tubot.db.abc
- add CacheDBTypes enum
- add UserStates enum
- add CacheDB abstract class
2024-08-05 15:42:35 +03:00