LedgerForge represents the main struct for the LedgerForge application.
| 40 | |
| 41 | // LedgerForge represents the main struct for the LedgerForge application. |
| 42 | type LedgerForge struct { |
| 43 | queue *Queue |
| 44 | search *search.TypesenseClient |
| 45 | redis redis.UniversalClient |
| 46 | asynqClient *asynq.Client |
| 47 | datasource database.IDataSource |
| 48 | bt *model.BalanceTracker |
| 49 | tokenizer *tokenization.TokenizationService |
| 50 | httpClient *http.Client |
| 51 | Hooks hooks.HookManager |
| 52 | config *config.Configuration |
| 53 | cache cache.Cache |
| 54 | hotPairs *hotpairs.Manager |
| 55 | } |
| 56 | |
| 57 | const ( |
| 58 | GeneralLedgerID = "general_ledger_id" |
nothing calls this directly
no outgoing calls
no test coverage detected