Skip to content

Commit

Permalink
Get streamer
Browse files Browse the repository at this point in the history
  • Loading branch information
kosidibe committed Aug 30, 2023
1 parent 2ae4e86 commit 6367d2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ func newConn(rwc io.ReadWriteCloser, config *ConnConfig) *Conn {
return conn
}

func (c *Conn) GetChunkStreamer() *ChunkStreamer {
return c.streamer

Check warning on line 109 in conn.go

View check run for this annotation

Codecov / codecov/patch

conn.go#L109

Added line #L109 was not covered by tests
}

func (c *Conn) Close() error {
c.m.Lock()
defer c.m.Unlock()
Expand Down

0 comments on commit 6367d2f

Please sign in to comment.