-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request: 服务端使用sqlite做用户数据持久化 #348
Comments
建议一个方案:为目前statistic里的memory实现的Authenticator,增加一个数据持久化的interface,memory可以只用该interface{}进行数据持久化,而该interface{}可以使用mysql,sqlite等不同方式实现,非侵入,易拓展。 |
欢迎 PR。 |
There you are. |
@sousa-chinensis |
配置上兼容原版 Trojan 就行了,代码和架构可以 breaking。 |
mysql需要依赖外部服务,加上数据持久化的需求比较简单,可以考虑使用sqlite,不依赖外部服务。
The text was updated successfully, but these errors were encountered: