MCPcopy
hub / github.com/keploy/keploy / Mapping

Method Mapping

pkg/agent/proxy/proxy.go:3085–3090  ·  view source on GitHub ↗
(ctx context.Context, mappingCh chan models.TestMockMapping)

Source from the content-addressed store, hash-verified

3083}
3084
3085func (p *Proxy) Mapping(ctx context.Context, mappingCh chan models.TestMockMapping) {
3086 mgr := syncMock.Get()
3087 if mgr != nil {
3088 mgr.SetMappingChannel(mappingCh)
3089 }
3090}
3091
3092func isShutdownError(err error) bool {
3093 if errors.Is(err, context.Canceled) {

Callers

nothing calls this directly

Implementers 1

Proxypkg/agent/proxy/proxy.go

Calls 2

GetFunction · 0.92
SetMappingChannelMethod · 0.80

Tested by

no test coverage detected