Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentBootService ¶
type AgentBootService interface {
RunGUI() error
}
AgentBootService inject with "#gie-client-gui-runner"
type AgentBootServiceImpl ¶
type AgentBootServiceImpl struct { markup.Component `id:"gie-client-gui-runner"` Context application.Context `inject:"context"` ServerPort int `inject:"${server.port}"` }
func (*AgentBootServiceImpl) RunGUI ¶
func (inst *AgentBootServiceImpl) RunGUI() error
func (*AgentBootServiceImpl) Start ¶
func (inst *AgentBootServiceImpl) Start() error
func (*AgentBootServiceImpl) Stop ¶
func (inst *AgentBootServiceImpl) Stop() error
type AutoClientCommandTrigger ¶
type AutoClientCommandTrigger struct { markup.Component `class:"looper" initMethod:"Open" destroyMethod:"Close" ` Context application.Context `inject:"context"` ClientFactory cli.ClientFactory `inject:"#cli-client-factory"` Enable bool `inject:"${gie.client.autorun.enabled}"` }
func (*AutoClientCommandTrigger) Close ¶
func (inst *AutoClientCommandTrigger) Close() error
func (*AutoClientCommandTrigger) Loop ¶
func (inst *AutoClientCommandTrigger) Loop() error
func (*AutoClientCommandTrigger) Open ¶
func (inst *AutoClientCommandTrigger) Open() error
type ServerControl ¶
type ServerControl struct {
// contains filtered or unexported fields
}
type ServerController ¶
type ServerController struct { markup.Component `id:"gie-server-controller" initMethod:"Init"` Context application.Context `inject:"context"` Runner *ServerRunner `inject:"#gie-server-runner"` ServerPort int `inject:"${server.port}"` ServerControl }
func (*ServerController) Init ¶
func (inst *ServerController) Init() error
func (*ServerController) Restart ¶
func (inst *ServerController) Restart() error
func (*ServerController) Run ¶
func (inst *ServerController) Run() error
func (*ServerController) Start ¶
func (inst *ServerController) Start() error
func (*ServerController) Stop ¶
func (inst *ServerController) Stop() error
type ServerRunner ¶
type ServerRunner struct { markup.Component `id:"gie-server-runner"` Context application.Context `inject:"context"` // contains filtered or unexported fields }
func (*ServerRunner) Run ¶
func (inst *ServerRunner) Run(ctx *ServerControl) error
Click to show internal directories.
Click to hide internal directories.