Documentation ¶
Index ¶
- Variables
- type BaseHandler
- type StreamManager
- func (m *StreamManager) Add(sid uint64, create func() (io.WriteCloser, types.ResizeHandleFunc, error)) (err error)
- func (m *StreamManager) Del(sid uint64)
- func (m *StreamManager) Has(sid uint64) (exists bool)
- func (m *StreamManager) Resize(sid uint64, cols, rows uint32)
- func (m *StreamManager) Write(sid, seq uint64, data []byte) bool
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)) (err error)
func (*StreamManager) Del ¶
func (m *StreamManager) Del(sid uint64)
func (*StreamManager) Has ¶ added in v0.4.8
func (m *StreamManager) Has(sid uint64) (exists bool)
func (*StreamManager) Resize ¶
func (m *StreamManager) Resize(sid uint64, cols, rows uint32)
Click to show internal directories.
Click to hide internal directories.