MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / getClient

Function getClient

test/fixtures.ts:74–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72type ChClient = ReturnType<typeof createClient>;
73
74function getClient() {
75 const url = process.env.CLICKHOUSE_URL ?? 'http://localhost:8123';
76 return createClient({ url });
77}
78
79function timeAgo(now: Date, days: number, minutesOffset = 0) {
80 return (

Callers 2

setupFixturesFunction · 0.70
teardownFixturesFunction · 0.70

Calls 1

createClientFunction · 0.85

Tested by

no test coverage detected