mirror of
https://github.com/therootcompany/golib.git
synced 2026-08-09 22:10:24 +00:00
Coordinates a Set of Fetchers (each producing a typed dataset) so a running server can swap to fresh data without locks on the read path. Readers go through atomic.Pointer; Load/Close are mutex-serialized so concurrent reloads can't race. Add and AddInitial register fetchers before the first Load.
golib
Sometimes a little copying, sometimes a little dependency. Too small for their own repos.
The default branch is dev, but the stable, versioned tags are based on main.
Also, my Go Cheatsheet:
Languages
Go
100%