ffi

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolToDynamic

func BoolToDynamic(args []*runtime.Object, _ checker.Type) *runtime.Object

func DecodeBool

func DecodeBool(args []*runtime.Object, outType checker.Type) *runtime.Object

fn (Dynamic) Bool!Error

func DecodeFloat

func DecodeFloat(args []*runtime.Object, outType checker.Type) *runtime.Object

fn (Dynamic) Float!Error

func DecodeInt

func DecodeInt(args []*runtime.Object, outType checker.Type) *runtime.Object

fn (Dynamic) Int!Error

func DecodeString

func DecodeString(args []*runtime.Object, outType checker.Type) *runtime.Object

fn (Dynamic) Str!Error

func DynamicToList

func DynamicToList(args []*runtime.Object, _ checker.Type) *runtime.Object

fn (Dyanmic) [Dynamic]!Str

func DynamicToMap

func DynamicToMap(args []*runtime.Object, _ checker.Type) *runtime.Object

fn (Dyanmic) [Dynamic:Dynamic]!Str

func EnvGet

func EnvGet(args []*runtime.Object, _ checker.Type) *runtime.Object

EnvGet retrieves an environment variable

func ExtractField

func ExtractField(args []*runtime.Object, _ checker.Type) *runtime.Object

fn (Dynamic, Str) Dynamic!Str

func FS_AppendFile

func FS_AppendFile(args []*runtime.Object, _ checker.Type) *runtime.Object

func FS_CreateFile

func FS_CreateFile(args []*runtime.Object, _ checker.Type) *runtime.Object

func FS_DeleteFile

func FS_DeleteFile(args []*runtime.Object, _ checker.Type) *runtime.Object

func FS_Exists

func FS_Exists(args []*runtime.Object, _ checker.Type) *runtime.Object

func FS_ReadFile

func FS_ReadFile(args []*runtime.Object, _ checker.Type) *runtime.Object

func FS_WriteFile

func FS_WriteFile(args []*runtime.Object, _ checker.Type) *runtime.Object

func FloatFloor

func FloatFloor(args []*runtime.Object, _ checker.Type) *runtime.Object

FloatFloor returns the floor of a float

func FloatFromInt

func FloatFromInt(args []*runtime.Object, _ checker.Type) *runtime.Object

FloatFromInt converts an integer to a float

func FloatFromStr

func FloatFromStr(args []*runtime.Object, _ checker.Type) *runtime.Object

FloatFromStr parses a string to a float, returning Float? (Maybe<Float>)

func FloatToDynamic

func FloatToDynamic(args []*runtime.Object, _ checker.Type) *runtime.Object

func GetPathValue

func GetPathValue(args []*runtime.Object, _ checker.Type) *runtime.Object

fn (req: Dynamic, name: Str) Str

func GetQueryParam

func GetQueryParam(args []*runtime.Object, _ checker.Type) *runtime.Object

fn (req: Dynamic, name: Str) Str

func GetReqPath

func GetReqPath(args []*runtime.Object, _ checker.Type) *runtime.Object

fn (req: Dynamic) Str

func GetTodayString

func GetTodayString(_ []*runtime.Object, _ checker.Type) *runtime.Object

func HTTP_Send

func HTTP_Send(args []*runtime.Object, returnType checker.Type) *runtime.Object

fn (method: Str, url: Str, body: Str, headers: [Str:Str]) Response!Str

func HTTP_Serve

func HTTP_Serve(args []*runtime.Object, _ checker.Type) *runtime.Object

fn serve(port: Int, handlers: [Str:fn(Request) Response])

func IntFromStr

func IntFromStr(args []*runtime.Object, _ checker.Type) *runtime.Object

func IntToDynamic

func IntToDynamic(args []*runtime.Object, _ checker.Type) *runtime.Object

func IsNil

func IsNil(args []*runtime.Object, _ checker.Type) *runtime.Object

fn (Dynamic) Bool

func JsonEncode

func JsonEncode(args []*runtime.Object, _ checker.Type) *runtime.Object

Encode an Ard value into a JSON string

func JsonToDynamic

func JsonToDynamic(args []*runtime.Object, _ checker.Type) *runtime.Object

Parse external data (JSON text) into Dynamic object

func NewList

func NewList(args []*runtime.Object, ret checker.Type) *runtime.Object

func PanicWithMessage

func PanicWithMessage(args []*runtime.Object, _ checker.Type) *runtime.Object

PanicWithMessage panics with a message

func Print

func Print(args []*runtime.Object, _ checker.Type) *runtime.Object

Print prints a value to stdout

func ReadLine

func ReadLine(args []*runtime.Object, _ checker.Type) *runtime.Object

ReadLine reads a line from stdin

func Sleep

func Sleep(args []*runtime.Object, _ checker.Type) *runtime.Object

fn (ns: Int) Void

func SqliteClose

func SqliteClose(args []*runtime.Object, _ checker.Type) *runtime.Object

SqliteClose closes a database connection

func SqliteCreateConnection

func SqliteCreateConnection(args []*runtime.Object, _ checker.Type) *runtime.Object

SqliteCreateConnection creates a new SQLite database connection

func SqliteExecute

func SqliteExecute(args []*runtime.Object, _ checker.Type) *runtime.Object

executes a query and doesn't return rows

func SqliteExtractParams

func SqliteExtractParams(args []*runtime.Object, _ checker.Type) *runtime.Object

Extract parameter names from a sql expression in the order they appear

func SqliteQuery

func SqliteQuery(args []*runtime.Object, _ checker.Type) *runtime.Object

executes a query and returns the rows

func StrToDynamic

func StrToDynamic(args []*runtime.Object, _ checker.Type) *runtime.Object

func VoidToDynamic

func VoidToDynamic(args []*runtime.Object, _ checker.Type) *runtime.Object

func WaitFor

func WaitFor(args []*runtime.Object, _ checker.Type) *runtime.Object

fn (wg: Dynamic) Void

Types

This section is empty.

Jump to

Keyboard shortcuts

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