MCPcopy
hub / github.com/chubin/wttr.in / Close

Method Close

internal/weather/cache.go:48–48  ·  view source on GitHub ↗

Close releases any resources held by the cache (connections, goroutines, etc.). Optional for in-memory implementations, required for networked caches.

()

Source from the content-addressed store, hash-verified

46 // Close releases any resources held by the cache (connections, goroutines, etc.).
47 // Optional for in-memory implementations, required for networked caches.
48 Close() error
49}
50
51// DefaultCacheInterval defines how often the cache key "rotates" (i.e. effective TTL).

Callers 15

flushBatchMethod · 0.65
CloseMethod · 0.65
makeQueryFunction · 0.65
flushMethod · 0.65
CloseMethod · 0.65
ProcessLogFileFunction · 0.65
getUplinkFunction · 0.65
CloseMethod · 0.65
loadEmojiLibFunction · 0.65
preloadFontFilesFunction · 0.65
AppendToFileFunction · 0.65

Implementers 3

LRUCacherinternal/cache/lru.go
DiskCacherinternal/cache/disk.go
NoOpCacherinternal/cache/noop.go

Calls

no outgoing calls

Tested by

no test coverage detected