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

Connection string for all storage #147

Open
alswl opened this issue Nov 13, 2023 · 0 comments
Open

Connection string for all storage #147

alswl opened this issue Nov 13, 2023 · 0 comments

Comments

@alswl
Copy link

alswl commented Nov 13, 2023

Hi, thanks for developed gokv, this is a awesome project.
I request a feature that using one connection string for all supported storage.

feature request

I'm using https://github.com/jaredwray/keyv before, this is a Node library, and it using Keyv connection string,
example: redis://user:pass@localhost:6379, availabe Keyv storage adapter: redis, mongo, postgres and mysql.

When users using the connections string, they can simple change the storage provider by change the configuration.

implement(maybe)

Provide a sub module named gokv-all, it contains all the storage implementations and register the implementations.
Which implementations used is decide by the connection string.

Thanks.

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

No branches or pull requests

1 participant