command

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	Descriptor worker.Descriptor
	Command    string
	Args       []string
}

func (Driver) Capabilities

func (d Driver) Capabilities() worker.Descriptor

func (Driver) Execute

func (d Driver) Execute(ctx context.Context, method string, params worker.Params) (worker.Outcome, error)

type Request

type Request struct {
	Method string        `json:"method"`
	Params worker.Params `json:"params"`
}

Jump to

Keyboard shortcuts

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