info

package
v2.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 5 Imported by: 0

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

Jump to

Keyboard shortcuts

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