Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMsgSendFuncNotSet = errors.New("message send func not set")
Functions ¶
This section is empty.
Types ¶
type BaseHandler ¶
type BaseHandler struct {
// contains filtered or unexported fields
}
func NewBaseHandler ¶
func NewBaseHandler() *BaseHandler
func (*BaseHandler) SetMsgSendFunc ¶
func (h *BaseHandler) SetMsgSendFunc(sendMsg types.MsgSendFunc)
type StreamManager ¶
type StreamManager struct {
// contains filtered or unexported fields
}
func NewStreamManager ¶
func NewStreamManager() *StreamManager
func (*StreamManager) Add ¶
func (m *StreamManager) Add(sid uint64, create func() (io.WriteCloser, types.ResizeHandleFunc, error)) error
func (*StreamManager) Del ¶
func (m *StreamManager) Del(sid uint64)
func (*StreamManager) Resize ¶
func (m *StreamManager) Resize(sid uint64, cols, rows uint32)
func (*StreamManager) Write ¶
func (m *StreamManager) Write(sid, seq uint64, data []byte)
Click to show internal directories.
Click to hide internal directories.