feat: use postgres
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package harness
|
||||
|
||||
// GatewayRedisEnv returns the env-var map that wires the gateway binary to a
|
||||
// Redis master at masterAddr using the master/replica/password shape required
|
||||
// by `pkg/redisconn`. The integration suites pass a fixed placeholder
|
||||
// password because the test Redis container runs without `requirepass`.
|
||||
func GatewayRedisEnv(masterAddr string) map[string]string {
|
||||
return map[string]string{
|
||||
"GATEWAY_REDIS_MASTER_ADDR": masterAddr,
|
||||
"GATEWAY_REDIS_PASSWORD": "integration",
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user