MCPcopy Index your code
hub / github.com/devaccuracy/ledgerforge / Close

Method Close

ledgerforge.go:173–178  ·  view source on GitHub ↗

Close properly closes all connections and resources used by the LedgerForge instance.

()

Source from the content-addressed store, hash-verified

171
172// Close properly closes all connections and resources used by the LedgerForge instance.
173func (b *LedgerForge) Close() error {
174 if b.asynqClient != nil {
175 return b.asynqClient.Close()
176 }
177 return nil
178}
179
180// Config returns the cached configuration for the LedgerForge instance.
181// Falls back to config.Fetch() if not initialized (for backward compatibility with tests).

Callers 3

TestConnectionReuseFunction · 0.95

Calls

no outgoing calls

Tested by 3

TestConnectionReuseFunction · 0.76