command

package
v0.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2021 License: MIT Imports: 5 Imported by: 0

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

func (*HelpAboutCommand) Init added in v0.0.8

func (inst *HelpAboutCommand) Init(service cli.Service) 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

func (*RestartServerCommand) Init

func (inst *RestartServerCommand) Init(service cli.Service) 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

func (*RunClientCommand) Init

func (inst *RunClientCommand) Init(service cli.Service) 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

func (*RunServerCommand) Init

func (inst *RunServerCommand) Init(service cli.Service) 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

func (*StartServerCommand) Init

func (inst *StartServerCommand) Init(service cli.Service) 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

func (*StopServerCommand) Init

func (inst *StopServerCommand) Init(service cli.Service) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL