Dispatcher implements an event dispatcher.
| 15 | |
| 16 | // Dispatcher implements an event dispatcher. |
| 17 | type Dispatcher struct { |
| 18 | evmap map[string][]subscription // Map of event names to subscription lists |
| 19 | } |
| 20 | |
| 21 | // Callback is the type for Dispatcher callback functions. |
| 22 | type Callback func(string, interface{}) |
nothing calls this directly
no outgoing calls
no test coverage detected