MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / Subscription

Struct Subscription

pkg/events/basic/subscription.go:27–32  ·  view source on GitHub ↗

Subscription is a basic implementation of a PubSub subscription.

Source from the content-addressed store, hash-verified

25
26// Subscription is a basic implementation of a PubSub subscription.
27type 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.
35func NewSubscription(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected