scriptapi

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Member

type Member struct {
	Name string
	// Args holds required argument names, such as "name, value".
	Args    string
	Summary string
	// Object is true for nested objects such as vars.global.
	Object bool
	// Writes is true for methods that change variables.
	Writes bool
}

func Members

func Members(object string, lang restfile.ScriptLang) []Member

Members returns an object's members for the given script language.

type TestResult added in v1.15.0

type TestResult struct {
	Name    string
	Message string
	Passed  bool
	Elapsed time.Duration
}

Jump to

Keyboard shortcuts

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