MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / fakeSignatureKVClient

Struct fakeSignatureKVClient

internal/cache/signature_cache_test.go:17–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15const testModelName = "claude-sonnet-4-5"
16
17type fakeSignatureKVClient struct {
18 values map[string][]byte
19 getErr error
20 setErr error
21 delErr error
22 expireErr error
23 getCount int
24 setCount int
25 delCount int
26 expireCount int
27 lastSetTTL time.Duration
28 lastExpireTTL time.Duration
29}
30
31func newFakeSignatureKVClient() *fakeSignatureKVClient {
32 return &fakeSignatureKVClient{values: make(map[string][]byte)}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected