Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNilLogger = errors.New("nil logger")
ErrNilLogger signals that a nil logger has been provided
View Source
var ErrNilMarshalizer = errors.New("nil marshalizer")
ErrNilMarshalizer signals that a nil marshalizer has been provided
View Source
var ErrNilWsConn = errors.New("nil web socket connection")
ErrNilWsConn signals that a nil web socket connection has been provided
View Source
var ErrWriterBusy = errors.New("writer is busy")
ErrWriterBusy signals that the data queue inside the writer is full
View Source
var ErrWriterClosed = errors.New("writer is closed")
ErrWriterClosed signals that the current writer is closed and no longer accepts writes
Functions ¶
func NewLogSender ¶
func NewLogSender(marshalizer marshal.Marshalizer, conn wsConn, log logger.Logger) (*logSender, error)
NewLogSender returns a new component that is able to communicate with the log viewer application. After the correct handshake it will send all logs that come through the logger subsystem
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.