mirror of
https://github.com/gofiber/storage.git
synced 2025-10-03 07:46:42 +08:00
remove close method
This commit is contained in:
@@ -157,11 +157,6 @@ func (s *Storage) Clear() error {
|
||||
return s.col.Drop(context.Background())
|
||||
}
|
||||
|
||||
// Close database connection
|
||||
func (s *Storage) Close() error {
|
||||
return s.db.Client().Disconnect(context.Background())
|
||||
}
|
||||
|
||||
// Acquire item from pool
|
||||
func (s *Storage) acquireItem() *item {
|
||||
return s.items.Get().(*item)
|
||||
|
Reference in New Issue
Block a user