Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InfoHandler ¶
type InfoHandler struct {
*common.BaseHandler
// contains filtered or unexported fields
}
InfoHandler handles informational commands like ping, help, commit, sync
func NewInfoHandler ¶
func NewInfoHandler(infoManager common.SystemInfoManager) *InfoHandler
NewInfoHandler creates a new info handler
func (*InfoHandler) Execute ¶
func (h *InfoHandler) Execute(ctx context.Context, cmd string, args *common.CommandArgs) (int, string, error)
Execute runs the info command
func (*InfoHandler) Validate ¶
func (h *InfoHandler) Validate(cmd string, args *common.CommandArgs) error
Validate checks if the arguments are valid for the command
Click to show internal directories.
Click to hide internal directories.