QObjectStream is a stream of HTTP objects represented with URLs that are directly consumable by any HTTP client when combined with authentication headers from the HeaderProvider.
| 31 | // that are directly consumable by any HTTP client when combined |
| 32 | // with authentication headers from the HeaderProvider. |
| 33 | type QObjectStream struct { |
| 34 | Objects chan *Object |
| 35 | formatLatch *concurrency.Latch[QObjectStreamFormat] |
| 36 | schemaLatch *concurrency.Latch[types.QRecordSchema] |
| 37 | headerProviderLatch *concurrency.Latch[HeaderProvider] |
| 38 | err error |
| 39 | closeOnce sync.Once |
| 40 | } |
| 41 | |
| 42 | func NewQObjectStream(buffer int) *QObjectStream { |
| 43 | return &QObjectStream{ |
nothing calls this directly
no outgoing calls
no test coverage detected