- MemoryStore.Close stops the sweep goroutine; Attempt keeps working - Router.Close runs what the router owns (the fallback MemoryStore of BuildRouter), never a store published on the app - BuildRouter closes the router on every error return - serve closes its router and installCooler's fallback store on exit; route:list closes its router - README and rate-limiting docs describe the ownership
4.0 KiB
4.0 KiB