(ctx context.Context, mappingCh chan models.TestMockMapping)
| 3083 | } |
| 3084 | |
| 3085 | func (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 | |
| 3092 | func isShutdownError(err error) bool { |
| 3093 | if errors.Is(err, context.Canceled) { |
nothing calls this directly
no test coverage detected