MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / fixedImpl

Function fixedImpl

packages/server/test/rate-limit.test.ts:29–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27const IP_B = '203.0.113.11';
28
29function fixedImpl(): IAuthTokenService {
30 return {
31 _serviceBrand: undefined,
32 getToken: () => TOKEN,
33 isValid: async (candidate) => candidate === TOKEN,
34 };
35}
36
37function buildApp(limiter?: AuthFailureLimiter): FastifyInstance {
38 const app = Fastify({ trustProxy: true });

Callers 1

buildAppFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected