js is an internal struct from a JetStreamContext.
| 247 | |
| 248 | // js is an internal struct from a JetStreamContext. |
| 249 | type js struct { |
| 250 | nc *Conn |
| 251 | opts *jsOpts |
| 252 | |
| 253 | // For async publish context. |
| 254 | mu sync.RWMutex |
| 255 | rpre string |
| 256 | rsub *Subscription |
| 257 | pafs map[string]*pubAckFuture |
| 258 | stc chan struct{} |
| 259 | dch chan struct{} |
| 260 | rr *rand.Rand |
| 261 | connStatusCh chan (Status) |
| 262 | replyPrefix string |
| 263 | replyPrefixLen int |
| 264 | } |
| 265 | |
| 266 | type jsOpts struct { |
| 267 | ctx context.Context |
nothing calls this directly
no outgoing calls
no test coverage detected