NoopDispatcher 是用于测试或过渡期的空实现。
| 32 | |
| 33 | // NoopDispatcher 是用于测试或过渡期的空实现。 |
| 34 | type NoopDispatcher struct{} |
| 35 | |
| 36 | // Handle 总是返回 method not implemented。 |
| 37 | func (NoopDispatcher) Handle(ctx context.Context, method string, body json.RawMessage) (json.RawMessage, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected