MCPcopy
hub / github.com/keploy/keploy / MockOutgoing

Method MockOutgoing

pkg/agent/proxy/integrations/integrations.go:42–42  ·  view source on GitHub ↗
(ctx context.Context, src net.Conn, dstCfg *models.ConditionalDstCfg, mockDb MockMemDb, opts models.OutgoingOptions)

Source from the content-addressed store, hash-verified

40 MatchType(ctx context.Context, reqBuf []byte) bool
41 RecordOutgoing(ctx context.Context, session *RecordSession) error
42 MockOutgoing(ctx context.Context, src net.Conn, dstCfg *models.ConditionalDstCfg, mockDb MockMemDb, opts models.OutgoingOptions) error
43}
44
45// IntegrationsV2 is the optional capability interface implemented by

Callers 2

handleConnectionMethod · 0.95
MockOutgoingMethod · 0.65

Implementers 3

HTTPpkg/agent/proxy/integrations/http/http
MySQLpkg/agent/proxy/integrations/mysql/mys
Genericpkg/agent/proxy/integrations/generic/g

Calls

no outgoing calls

Tested by

no test coverage detected