Documentation
¶
Index ¶
- type Controller
- func (c *Controller) AddPane(name, title, teamId string, channel *slack.Channel, show bool, ...) *Pane
- func (c *Controller) GetActive() *Pane
- func (c *Controller) GetActiveIndex() int
- func (c *Controller) GetByChannelId(channelId string) *Pane
- func (c *Controller) GetByTeamId(teamId string) (ret []*Pane)
- func (c *Controller) GetFormattedActivityString() string
- func (c *Controller) GetPanes() []*Pane
- func (c *Controller) GetSize() int
- func (c *Controller) GetStatusPane() *Pane
- func (c *Controller) GetWindowList() string
- func (c *Controller) IsActive(pane *Pane) bool
- func (c *Controller) RemovePane(pane *Pane)
- func (c *Controller) SetActive(pane *Pane)
- func (c *Controller) SetIndexActive(idx int)
- func (c *Controller) SetNextActive()
- func (c *Controller) SetPrevActive()
- func (c *Controller) SetStatusActive()
- func (c *Controller) UpdateStatusBar()
- func (c *Controller) Write(buffer []byte, change bool) (int, error)
- type Pane
- func (p *Pane) Changed() bool
- func (p *Pane) GetName() string
- func (p *Pane) Log(mark, message string)
- func (p *Pane) Logf(mark, format string, args ...interface{})
- func (p *Pane) Notify() bool
- func (p *Pane) RawLog(message string)
- func (p *Pane) RawLogf(format string, args ...interface{})
- func (p *Pane) ScrollToEnd()
- func (p *Pane) SetNotify()
- func (p *Pane) UpdateStatus()
- func (p *Pane) Write(buffer []byte) (int, error)
- func (p *Pane) WriteNoChange(buffer []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
func NewController ¶
func (*Controller) GetActive ¶
func (c *Controller) GetActive() *Pane
func (*Controller) GetActiveIndex ¶
func (c *Controller) GetActiveIndex() int
func (*Controller) GetByChannelId ¶
func (c *Controller) GetByChannelId(channelId string) *Pane
func (*Controller) GetByTeamId ¶
func (c *Controller) GetByTeamId(teamId string) (ret []*Pane)
func (*Controller) GetFormattedActivityString ¶
func (c *Controller) GetFormattedActivityString() string
func (*Controller) GetPanes ¶
func (c *Controller) GetPanes() []*Pane
func (*Controller) GetSize ¶
func (c *Controller) GetSize() int
func (*Controller) GetStatusPane ¶
func (c *Controller) GetStatusPane() *Pane
func (*Controller) GetWindowList ¶
func (c *Controller) GetWindowList() string
func (*Controller) IsActive ¶
func (c *Controller) IsActive(pane *Pane) bool
func (*Controller) RemovePane ¶
func (c *Controller) RemovePane(pane *Pane)
func (*Controller) SetActive ¶
func (c *Controller) SetActive(pane *Pane)
func (*Controller) SetIndexActive ¶
func (c *Controller) SetIndexActive(idx int)
func (*Controller) SetNextActive ¶
func (c *Controller) SetNextActive()
func (*Controller) SetPrevActive ¶
func (c *Controller) SetPrevActive()
func (*Controller) SetStatusActive ¶
func (c *Controller) SetStatusActive()
func (*Controller) UpdateStatusBar ¶
func (c *Controller) UpdateStatusBar()
type Pane ¶
func (*Pane) ScrollToEnd ¶
func (p *Pane) ScrollToEnd()
func (*Pane) UpdateStatus ¶
func (p *Pane) UpdateStatus()
Click to show internal directories.
Click to hide internal directories.