Documentation
¶
Index ¶
Constants ¶
View Source
const ( StopServer = "stop:server" StartServer = "start:server" RestartServer = "restart:server" RunServer = "run:server" // the daemon for server RunClient = "run:client" HelpAbout = "help:about" HelpVersion = "help:version" HelpContent = "help:content" )
定义可用的 gie 命令
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelpAboutCommand ¶ added in v0.0.8
type HelpAboutCommand struct {
markup.Component `class:"cli-handler"`
Context application.Context `inject:"context"`
}
HelpAboutCommand 。。。
func (*HelpAboutCommand) Handle ¶ added in v0.0.8
func (inst *HelpAboutCommand) Handle(ctx *cli.TaskContext) error
type RestartServerCommand ¶
type RestartServerCommand struct {
markup.Component `class:"cli-handler"`
Context application.Context `inject:"context"`
ServerController *service.ServerController `inject:"#gie-server-controller"`
}
RestartServerCommand 。。。
func (*RestartServerCommand) Handle ¶
func (inst *RestartServerCommand) Handle(ctx *cli.TaskContext) error
type RunClientCommand ¶
type RunClientCommand struct {
markup.Component `class:"cli-handler"`
Context application.Context `inject:"context"`
AgentBootService service.AgentBootService `inject:"#gie-client-gui-runner"`
}
RunClientCommand 。。。
func (*RunClientCommand) Handle ¶
func (inst *RunClientCommand) Handle(ctx *cli.TaskContext) error
type RunServerCommand ¶
type RunServerCommand struct {
markup.Component `class:"cli-handler"`
ServerController *service.ServerController `inject:"#gie-server-controller"`
Context application.Context `inject:"context"`
}
RunServerCommand 。。。
func (*RunServerCommand) Handle ¶
func (inst *RunServerCommand) Handle(ctx *cli.TaskContext) error
type StartServerCommand ¶
type StartServerCommand struct {
markup.Component `class:"cli-handler"`
ServerController *service.ServerController `inject:"#gie-server-controller"`
Context application.Context `inject:"context"`
}
StartServerCommand 。。。
func (*StartServerCommand) Handle ¶
func (inst *StartServerCommand) Handle(ctx *cli.TaskContext) error
type StopServerCommand ¶
type StopServerCommand struct {
markup.Component `class:"cli-handler"`
ServerController *service.ServerController `inject:"#gie-server-controller"`
Context application.Context `inject:"context"`
}
StopServerCommand 。。。
func (*StopServerCommand) Handle ¶
func (inst *StopServerCommand) Handle(ctx *cli.TaskContext) error
Click to show internal directories.
Click to hide internal directories.