增加Stream NeverTimeout属性,用于纯数据轨道的流保持不关闭

消除一处魔法数字
将TCP监听增加TLS支持
This commit is contained in:
langhuihui
2023-06-04 11:02:45 +08:00
parent fc7ac81c4e
commit f4fb7881f7
14 changed files with 210 additions and 42 deletions

View File

@@ -12,7 +12,7 @@ type LockFrame[T any] struct {
type LockRing[T any] struct {
RingBuffer[LockFrame[T]]
Reset func(*DataFrame[T])
Reset func(*DataFrame[T]) `json:"-" yaml:"-"`
Flag *int32
}