From 4af29cfb29f0c70f4288b259c7384f6ba6d6598e Mon Sep 17 00:00:00 2001 From: Yusuke Kato Date: Tue, 2 Jul 2019 15:04:10 +0900 Subject: [PATCH] [patch] update dependency versions (#74) Signed-off-by: kpango --- gache.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gache.go b/gache.go index 1e3f339..54dc882 100644 --- a/gache.go +++ b/gache.go @@ -426,12 +426,14 @@ func Read(r io.Reader) error { return instance.Read(r) } +// Stop kills expire daemon func (g *gache) Stop() { if g.cancel != nil { g.cancel() } } +// Stop kills expire daemon func Stop() { instance.Stop() }