| 25 | var ErrStreamNotFound = errors.New("stream: not found") |
| 26 | |
| 27 | type streamer struct { |
| 28 | sync.Mutex |
| 29 | |
| 30 | streams map[int64]*stream |
| 31 | } |
| 32 | |
| 33 | // New returns a new in-memory log streamer. |
| 34 | func NewMemory() LogStream { |
nothing calls this directly
no outgoing calls
no test coverage detected