scripts

package
v0.0.0-...-482b64a Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPClient

type HTTPClient interface {
	Do(request *http.Request) (*http.Response, error)
}

type Lua

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

func NewLua

func NewLua(httpClient HTTPClient) *Lua

func (*Lua) Execute

func (e *Lua) Execute(
	ctx context.Context,
	script string,
	rawBody string,
	statusCode int,
) (string, error)

func (*Lua) ExecuteAction

func (e *Lua) ExecuteAction(
	ctx context.Context,
	script string,
	buttonContextID string,
	config common.Config,
) (*string, error)

Jump to

Keyboard shortcuts

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