goflow
goflow copied to clipboard
[Question] How to set special redis db
Here is FlowService struct
type FlowService struct {
Port int
RedisURL string
RedisPassword string
RequestAuthSharedSecret string
RequestAuthEnabled bool
WorkerConcurrency int
RetryCount int
Flows map[string]runtime.FlowDefinitionHandler
RequestReadTimeout time.Duration
RequestWriteTimeout time.Duration
OpenTraceUrl string
DataStore sdk.DataStore
Logger sdk.Logger
EnableMonitoring bool
DebugEnabled bool
runtime *runtime.FlowRuntime
}
I want to connect to a specifically redis db, but FlowService don't have a field like RedisDB
Currently it's not supported. If you need it urgently I'll suggest to open a PR Alternatively you can create a new connection by passing the redis URL and cred
Currently it's not supported. If you need it urgently I'll suggest to open a PR Alternatively you can create a new connection by passing the redis URL and cred
I just created a PR #78