Architecture Goal
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Steven Polley 2023-11-14 16:59:09 -07:00
parent 0d4010f1dd
commit b82aaee05d
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ It syncs your balance like magic!
### Architecture
No bloat, uses only the standard library, separate all integrations into their own package.
#### Main Package
Each account provider / integration is defined in its own package and adheres to the interface specified in accountProviders.go. When the program starts, init() inside main.go attempts to configure all providers, and uses providers where configuration succeeds and ignores providers if configuration fails (eg: missing environment variable or config file). init() will run again if SIGHUP is received to reload configuration.