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