runner

package
v0.1.0-pre.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StdCheck

func StdCheck(L *lua.LState, tbl *lua.LTable, b any)

func StdCheckDefinition

func StdCheckDefinition(fn lua.LGFunction) *spec.Function

func WithSaveFunc

func WithSaveFunc(ctx context.Context, fn SaveFunc) context.Context

Types

type GQL

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

func NewGQLRunner

func NewGQLRunner(server http.Handler) *GQL

func (*GQL) Functions

func (g *GQL) Functions() []*spec.Function

func (*GQL) Name

func (g *GQL) Name() string

type REST

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

func NewRestRunner

func NewRestRunner(server http.Handler) *REST

func (*REST) Functions

func (s *REST) Functions() []*spec.Function

func (*REST) Name

func (r *REST) Name() string

type Reporter

type Reporter interface {
	Error(msg string, args ...any)
}

type SQL

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

func NewSQLRunner

func NewSQLRunner(db *pgxpool.Pool) *SQL

func (*SQL) Functions

func (s *SQL) Functions() []*spec.Function

func (*SQL) HelperFunctions

func (s *SQL) HelperFunctions() []*spec.Function

func (*SQL) Name

func (s *SQL) Name() string

type SaveFunc

type SaveFunc func(key string, value any)

Jump to

Keyboard shortcuts

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