MCPcopy
hub / github.com/nirui/sshwifty / Command

FuncType Command

application/command/commands.go:39–43  ·  view source on GitHub ↗

Command represents a command handler machine builder

func(
	l log.Logger,
	w StreamResponder,
	cfg Configuration,
) FSMMachine

Source from the content-addressed store, hash-verified

37
38// Command represents a command handler machine builder
39type Command func(
40 l log.Logger,
41 w StreamResponder,
42 cfg Configuration,
43) FSMMachine
44
45// Commands contains data of all commands
46type Commands [MaxCommandID + 1]Command

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected