Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiWriterWithWebsocket ¶
type MultiWriterWithWebsocket struct {
// contains filtered or unexported fields
}
MultiWriterWithWebsocket wraps a multiwriter and provides websocket functionality
func NewMultiWriterWithWebsocket ¶
func NewMultiWriterWithWebsocket(writer io.Writer, prefix string) *MultiWriterWithWebsocket
func (*MultiWriterWithWebsocket) SetPrefix ¶
func (m *MultiWriterWithWebsocket) SetPrefix(prefix string)
SetPrefix sets the prefix for the writer
func (*MultiWriterWithWebsocket) SetWebsocket ¶
func (m *MultiWriterWithWebsocket) SetWebsocket(ws *websocket.Conn)
Click to show internal directories.
Click to hide internal directories.