wasm

package
v2.16.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Autocomplete

func Autocomplete(cfg *AutoCompleteConfig) ([]string, error)

Types

type AutoCompleteConfig

type AutoCompleteConfig struct {
	JWT          string   `js:"jwt"`
	LeftWords    []string `js:"leftWords"`
	SelectedWord string   `js:"selectedWord"`
	RightWords   []string `js:"rightWords"`
}

type RunConfig

type RunConfig struct {
	JWT string `js:"jwt"`
}

type RunResponse

type RunResponse struct {
	Stdout   string `js:"stdout"`
	Stderr   string `js:"stderr"`
	ExitCode int    `js:"exitCode"`
}

func Run

func Run(cfg *RunConfig, args []string) (*RunResponse, error)

Jump to

Keyboard shortcuts

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