Skip to content
/ strdust Public

独立于业务和结算规则的虚拟资产管理系统

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

4lkaid/strdust

Repository files navigation

strdust

CI Crates.io MSRV

strdust 是一个独立于业务和结算规则的虚拟资产管理系统,能够精确追踪每个账户的资金流动与资产状态。

配置文件示例

config.toml

[general]
listen = "0.0.0.0:8000"

[logger]
# Log levels: trace > debug > info > warn > error
# trace: Very detailed debugging information.
# debug: General debugging information.
# info: Normal operational information.
# warn: Potential issues.
# error: Serious problems.
level = "debug"
# writer options:
# file: Logs to "directory/file_name_prefix.year-month-day".
# stdout: Logs to console.
writer = "file"
directory = "./log"
file_name_prefix = "strdust.log"

[postgres]
url = "postgres://postgres:@127.0.0.1:5432/strdust"
max_connections = 10
min_connections = 1
acquire_timeout = 30
idle_timeout = 600
max_lifetime = 1800

[redis]
url = "redis://127.0.0.1:6379"

.env

DATABASE_URL="postgres://postgres:@127.0.0.1:5432/strdust"

About

独立于业务和结算规则的虚拟资产管理系统

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published