From cb04b73698e18fec043c70c68fa6599b85b101f3 Mon Sep 17 00:00:00 2001 From: LandaMm Date: Mon, 21 Apr 2025 13:12:21 +0200 Subject: [PATCH] feat: remove stream related constants --- hsp/constants.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/hsp/constants.go b/hsp/constants.go index 286b2c7..6af3a3d 100644 --- a/hsp/constants.go +++ b/hsp/constants.go @@ -13,8 +13,6 @@ const ( H_STATUS = "status" H_DATA_FORMAT = "data-format" H_ROUTE = "route" - H_XSTREAM = "x-stream" - H_XSTREAM_KEY = "x-stream-key" ) const ( @@ -49,11 +47,6 @@ type DataFormat struct { Encoding string } -type StreamInfo struct { - TotalBytes uint64 - BufferSize uint16 -} - func TextDataFormat() *DataFormat { return &DataFormat{Format: DF_TEXT, Encoding: E_UTF8} }