Upstream defines the interface for upstream (parent) components.
| 4 | |
| 5 | // Upstream defines the interface for upstream (parent) components. |
| 6 | type Upstream interface { |
| 7 | Send(msg *Msg, timeout time.Duration) *Error |
| 8 | } |
| 9 | |
| 10 | // UpstreamSendFunc is a helper to be able to satisfy the Upstream interface. |
| 11 | type UpstreamSendFunc func(msg *Msg, timeout time.Duration) *Error |
no outgoing calls
no test coverage detected