(readerRoute string, writerRoute string, rwnd int64)
| 52 | } |
| 53 | |
| 54 | func (b *Broker) CreateStreamReader(readerRoute string, writerRoute string, rwnd int64) (*Reader, *wshrpc.StreamMeta) { |
| 55 | return b.CreateStreamReaderWithSeq(readerRoute, writerRoute, rwnd, 0) |
| 56 | } |
| 57 | |
| 58 | func (b *Broker) CreateStreamReaderWithSeq(readerRoute string, writerRoute string, rwnd int64, startSeq int64) (*Reader, *wshrpc.StreamMeta) { |
| 59 | b.lock.Lock() |