remove close method

This commit is contained in:
Fenny
2020-11-05 06:08:05 +01:00
parent 5571999805
commit 86b9cfe4c1
7 changed files with 3 additions and 37 deletions

View File

@@ -158,11 +158,6 @@ func (s *Storage) Clear() error {
return err
}
// Close the storage
func (s *Storage) Close() error {
return s.db.Close()
}
// GC deletes all expired entries
func (s *Storage) gc() {
tick := time.NewTicker(s.gcInterval)