mirror of
https://github.com/gofiber/storage.git
synced 2025-10-06 17:17:18 +08:00
remove close method
This commit is contained in:
@@ -141,11 +141,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)
|
||||
|
Reference in New Issue
Block a user