Subscription is a basic implementation of a PubSub subscription.
| 25 | |
| 26 | // Subscription is a basic implementation of a PubSub subscription. |
| 27 | type Subscription struct { |
| 28 | ctx context.Context |
| 29 | names []string |
| 30 | identifiers []*ttnpb.EntityIdentifiers |
| 31 | handler events.Handler |
| 32 | } |
| 33 | |
| 34 | // NewSubscription creates a new basic PubSub subscription. |
| 35 | func NewSubscription( |
nothing calls this directly
no outgoing calls
no test coverage detected