cmd

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Functions

func Execute

func Execute(ctx context.Context) error

Types

type SendBatchFunc added in v0.0.15

SendBatchFunc is the function signature for sending a batch command to Unity. Injected so batchCmd can be tested without a real Unity connection.

type SendFunc added in v0.0.15

type SendFunc func(command string, params interface{}) (*client.CommandResponse, error)

SendFunc is the function signature for sending a command to Unity. Injected into each command function so they can be tested without a real Unity connection.

Jump to

Keyboard shortcuts

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