mirror of
https://github.com/Monibuca/engine.git
synced 2025-11-03 10:51:03 +08:00
修复日志打印序列化报错问题
This commit is contained in:
16
io.go
16
io.go
@@ -34,16 +34,16 @@ type AuthPub interface {
|
||||
type IO struct {
|
||||
ID string
|
||||
Type string
|
||||
context.Context `json:"-"` //不要直接设置,应当通过OnEvent传入父级Context
|
||||
context.CancelFunc `json:"-"` //流关闭是关闭发布者或者订阅者
|
||||
*log.Logger `json:"-"`
|
||||
context.Context `json:"-" yaml:"-"` //不要直接设置,应当通过OnEvent传入父级Context
|
||||
context.CancelFunc `json:"-" yaml:"-"` //流关闭是关闭发布者或者订阅者
|
||||
*log.Logger `json:"-" yaml:"-"`
|
||||
StartTime time.Time //创建时间
|
||||
Stream *Stream `json:"-"`
|
||||
io.Reader `json:"-"`
|
||||
io.Writer `json:"-"`
|
||||
io.Closer `json:"-"`
|
||||
Stream *Stream `json:"-" yaml:"-"`
|
||||
io.Reader `json:"-" yaml:"-"`
|
||||
io.Writer `json:"-" yaml:"-"`
|
||||
io.Closer `json:"-" yaml:"-"`
|
||||
Args url.Values
|
||||
Spesific IIO `json:"-"`
|
||||
Spesific IIO `json:"-" yaml:"-"`
|
||||
}
|
||||
|
||||
func (io *IO) IsClosed() bool {
|
||||
|
||||
Reference in New Issue
Block a user