@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 18 lines 433 Bytes
Raw
1 import { makeRead } from "@alchemy.run/redis";
2 import * as Layer from "effect/Layer";
3 import { ReadRedis } from "./ReadRedis.ts";
4 import { makeRedisBinding } from "./RedisBinding.ts";
5
6 /**
7 * HTTP/RESP implementation of {@link ReadRedis}.
8 *
9 * @layer
10 * @provides GCP.Redis.ReadRedis
11 */
12 export const ReadRedisHttp = Layer.effect(
13 ReadRedis,
14 makeRedisBinding({
15 tag: "GCP.Redis.ReadRedis",
16 makeClient: makeRead,
17 }),
18 );