commands

package
v0.0.0-...-15b5fa4 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commands

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

func NewCommands

func NewCommands(executor contracts.Executor) *Commands

func (*Commands) Handle

func (c *Commands) Handle(ctx context.Context, readWriter io.ReadWriter) error

type Response

type Response struct {
	Output   string
	ExitCode int
	Code     response.Code
}

func (Response) MarshalBINN

func (r Response) MarshalBINN() ([]byte, error)

Jump to

Keyboard shortcuts

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