MCPcopy
hub / github.com/nats-io/nats.go / pushSubscription

Struct pushSubscription

jetstream/push.go:24–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 }
23
24 pushSubscription struct {
25 sync.Mutex
26 id string
27 errs chan error
28 subscription *nats.Subscription
29 connStatusChanged chan nats.Status
30 closedCh chan struct{}
31 done chan struct{}
32 closed atomic.Bool
33 consumeOpts *pushConsumeOpts
34 hbMonitor *hbMonitor
35 idleHeartbeat time.Duration
36 }
37
38 pushConsumeOpts struct {
39 ErrHandler ConsumeErrHandler

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected