From 6367d2fca7f9d14fe476f1bcfcc0a2d7382b2102 Mon Sep 17 00:00:00 2001 From: koriansidibe Date: Wed, 30 Aug 2023 16:26:23 +0200 Subject: [PATCH] Get streamer --- conn.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conn.go b/conn.go index 9d6a771..aa1ef90 100644 --- a/conn.go +++ b/conn.go @@ -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()