Help us shape the future of Go! Take the 2026 Go Developer Survey

http

package
v1.39.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(runtimeContext *runtime.Context) *cobra.Command

New returns the cobra command.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler signs a `workflows.execute` request with the wallet key and posts it to the Gateway.

func NewHandler

func NewHandler(ctx *runtime.Context, out io.Writer) *Handler

NewHandler builds a Handler that writes machine-readable output to out.

func (*Handler) Execute

func (h *Handler) Execute(ctx context.Context, inputs Inputs) error

Execute fires the trigger and reports the Gateway outcome. It returns an error for any failure, after printing the JSON result when --json is set.

type Inputs

type Inputs struct {
	Input        json.RawMessage
	WorkflowID   string
	OutputFormat string
}

Inputs holds resolved and validated flag values for workflow trigger http.

Jump to

Keyboard shortcuts

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