Skip to content

Connection string for all storage #147

@alswl

Description

@alswl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions