MCPcopy Create free account
hub / github.com/One-com/gone / Invoke

Method Invoke

daemon/ctrl/ctrl.go:37–37  ·  view source on GitHub ↗

Invoke invokes the command being passed a context an io.Writer to the socket the command name used to invoke it and it's arguments. Invoke has the option of returning function to be invoked asynchronously and - optionally command line to potentially make it persistent. The persistent command will be

(ctx context.Context, conn io.Writer, cmd string, args []string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

serveMethod · 0.65

Implementers 4

procCommandexample.go
serverControlCommanddaemon/ctrl/example/server.go
accessLogCommanddaemon/ctrl/example/accesslog.go
procCommanddaemon/ctrl/example/main.go

Calls

no outgoing calls

Tested by

no test coverage detected