TransportSubscribers provides a method to retrieve the list of active subscribers.
| 34 | |
| 35 | // TransportSubscribers provides a method to retrieve the list of active subscribers. |
| 36 | type TransportSubscribers interface { |
| 37 | // GetSubscribers gets the last event ID and the list of active subscribers at this time. |
| 38 | GetSubscribers(ctx context.Context) (string, []*Subscriber, error) |
| 39 | } |
| 40 | |
| 41 | // TransportTopicSelectorStore provides a method to pass the TopicSelectorStore to the transport. |
| 42 | type TransportTopicSelectorStore interface { |
no outgoing calls
no test coverage detected