Skip to content

Commit

Permalink
Merge pull request #61 from koriansidibe/feat/get_streamer_stats
Browse files Browse the repository at this point in the history
feat: Add get method for streamer
  • Loading branch information
yutopp authored Dec 12, 2023
2 parents 2ae4e86 + 6367d2f commit d42d059
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
}

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

0 comments on commit d42d059

Please sign in to comment.