Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 [Feature]: Export db option to reuse for 3rd modules. #1006

Closed
jsonchou opened this issue Sep 29, 2023 · 1 comment
Closed

🚀 [Feature]: Export db option to reuse for 3rd modules. #1006

jsonchou opened this issue Sep 29, 2023 · 1 comment

Comments

@jsonchou
Copy link

jsonchou commented Sep 29, 2023

Feature Description

https://github.com/gofiber/storage/blob/main/redis/redis.go

Storage module is a pure operation api.

s.Get,Set,Delete...

How about export s.Db redis.Client option for 3rd modules.
Otherwise it would have to create a extra new client instance.

@gaby
Copy link
Member

gaby commented Sep 29, 2023

@jsonchou We plan on allowing re-using connections as part of #967

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants