Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { core.ControllerModule Module *Log Gui *Gui Sess *core.Session // contains filtered or unexported fields }
Controller represents the controller of the log module
func LoadLogModule ¶
func LoadLogModule(s *core.Session) *Controller
LoadLogModule loads the log module in the given session
func NewController ¶
func NewController(m *Log, g *Gui, s *core.Session) *Controller
NewController returns a controller of the log module
func (*Controller) ExecCommand ¶
func (c *Controller) ExecCommand(m string, args ...interface{})
ExecCommand execs commands submitted by other modules
func (*Controller) GetGui ¶
func (c *Controller) GetGui() core.GuiModule
GetGui returns the Gui of the log module
func (*Controller) GetModule ¶
func (c *Controller) GetModule() core.Module
GetModule returns the module of the log module
type Gui ¶
Gui represents the Gui of the log module
func (*Gui) GetModuleGui ¶
func (g *Gui) GetModuleGui() interface{}
GetModuleGui returns the Gui for the current module
func (*Gui) GetSettings ¶
func (g *Gui) GetSettings() interface{}
func (*Gui) SetTableModel ¶
func (g *Gui) SetTableModel(m *model.SortFilterModel)
SetTableModel sets the table model along with some column width to use in the history table
Click to show internal directories.
Click to hide internal directories.