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

Function getClient

test/retention-fixtures.ts:118–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116type ChClient = ReturnType<typeof createClient>;
117
118function getClient(): ChClient {
119 const url = process.env.CLICKHOUSE_URL ?? 'http://localhost:8123';
120 return createClient({ url });
121}
122
123let eventSeq = 0;
124

Callers 2

setupRetentionFixturesFunction · 0.70

Calls 1

createClientFunction · 0.85

Tested by

no test coverage detected