Skip to content

support redis db#78

Open
caubechankiu wants to merge 2 commits intos8sg:masterfrom
caubechankiu:feature/support-redis-db
Open

support redis db#78
caubechankiu wants to merge 2 commits intos8sg:masterfrom
caubechankiu:feature/support-redis-db

Conversation

@caubechankiu
Copy link
Copy Markdown

Allow to connect to a specifically redis db by adding a field RedisDB to FlowService struct

}

func GetRedisDataStore(redisUri string, password string) (sdk.DataStore, error) {
func GetRedisDataStore(redisUri string, password string, db int) (sdk.DataStore, error) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we get the password and string from enviroment?

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

Successfully merging this pull request may close these issues.

2 participants