Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ChanWriter = &ChannelWriter{ clients: &sync.Map{}, }
View Source
var Logger *zap.Logger
Logger 日志记录器
Functions ¶
Types ¶
type ChannelWriter ¶ added in v1.1.0
type ChannelWriter struct {
// contains filtered or unexported fields
}
func (*ChannelWriter) Add ¶ added in v1.1.0
func (writer *ChannelWriter) Add(loggerChan chan []byte)
func (ChannelWriter) Remove ¶ added in v1.1.0
func (writer ChannelWriter) Remove(loggerChan chan []byte)
Click to show internal directories.
Click to hide internal directories.