mirror of
https://github.com/gofiber/storage.git
synced 2025-10-05 08:37:10 +08:00
sql queries T.T
This commit is contained in:
@@ -158,6 +158,11 @@ 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