This commit is contained in:
parent
0d4010f1dd
commit
b82aaee05d
@ -12,6 +12,8 @@ It syncs your balance like magic!
|
|||||||
|
|
||||||
### Architecture
|
### Architecture
|
||||||
|
|
||||||
|
No bloat, uses only the standard library, separate all integrations into their own package.
|
||||||
|
|
||||||
#### Main 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.
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user