| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected