Documentation
¶
Index ¶
- func BoolToDynamic(args []*runtime.Object, _ checker.Type) *runtime.Object
- func DecodeBool(args []*runtime.Object, outType checker.Type) *runtime.Object
- func DecodeFloat(args []*runtime.Object, outType checker.Type) *runtime.Object
- func DecodeInt(args []*runtime.Object, outType checker.Type) *runtime.Object
- func DecodeString(args []*runtime.Object, outType checker.Type) *runtime.Object
- func DynamicToList(args []*runtime.Object, _ checker.Type) *runtime.Object
- func DynamicToMap(args []*runtime.Object, _ checker.Type) *runtime.Object
- func EnvGet(args []*runtime.Object, _ checker.Type) *runtime.Object
- func ExtractField(args []*runtime.Object, _ checker.Type) *runtime.Object
- func FS_AppendFile(args []*runtime.Object, _ checker.Type) *runtime.Object
- func FS_CreateFile(args []*runtime.Object, _ checker.Type) *runtime.Object
- func FS_DeleteFile(args []*runtime.Object, _ checker.Type) *runtime.Object
- func FS_Exists(args []*runtime.Object, _ checker.Type) *runtime.Object
- func FS_IsDir(args []*runtime.Object, _ checker.Type) *runtime.Object
- func FS_IsFile(args []*runtime.Object, _ checker.Type) *runtime.Object
- func FS_ListDir(args []*runtime.Object, outType checker.Type) *runtime.Object
- func FS_ReadFile(args []*runtime.Object, _ checker.Type) *runtime.Object
- func FS_WriteFile(args []*runtime.Object, _ checker.Type) *runtime.Object
- func FloatFloor(args []*runtime.Object, _ checker.Type) *runtime.Object
- func FloatFromInt(args []*runtime.Object, _ checker.Type) *runtime.Object
- func FloatFromStr(args []*runtime.Object, _ checker.Type) *runtime.Object
- func FloatToDynamic(args []*runtime.Object, _ checker.Type) *runtime.Object
- func GetPathValue(args []*runtime.Object, _ checker.Type) *runtime.Object
- func GetQueryParam(args []*runtime.Object, _ checker.Type) *runtime.Object
- func GetReqPath(args []*runtime.Object, _ checker.Type) *runtime.Object
- func GetTodayString(_ []*runtime.Object, _ checker.Type) *runtime.Object
- func HTTP_Send(args []*runtime.Object, returnType checker.Type) *runtime.Object
- func HTTP_Serve(args []*runtime.Object, _ checker.Type) *runtime.Object
- func IntFromStr(args []*runtime.Object, _ checker.Type) *runtime.Object
- func IntToDynamic(args []*runtime.Object, _ checker.Type) *runtime.Object
- func IsNil(args []*runtime.Object, _ checker.Type) *runtime.Object
- func Join(args []*runtime.Object, _ checker.Type) *runtime.Object
- func JsonEncode(args []*runtime.Object, _ checker.Type) *runtime.Object
- func JsonToDynamic(args []*runtime.Object, _ checker.Type) *runtime.Object
- func ListToDynamic(args []*runtime.Object, _ checker.Type) *runtime.Object
- func MapToDynamic(args []*runtime.Object, _ checker.Type) *runtime.Object
- func NewList(args []*runtime.Object, ret checker.Type) *runtime.Object
- func Now(_ []*runtime.Object, _ checker.Type) *runtime.Object
- func OsArgs(_ []*runtime.Object, _ checker.Type) *runtime.Object
- func PanicWithMessage(args []*runtime.Object, _ checker.Type) *runtime.Object
- func Print(args []*runtime.Object, _ checker.Type) *runtime.Object
- func ReadLine(args []*runtime.Object, _ checker.Type) *runtime.Object
- func Sleep(args []*runtime.Object, _ checker.Type) *runtime.Object
- func SqlBeginTx(args []*runtime.Object, _ checker.Type) *runtime.Object
- func SqlClose(args []*runtime.Object, _ checker.Type) *runtime.Object
- func SqlCommit(args []*runtime.Object, _ checker.Type) *runtime.Object
- func SqlCreateConnection(args []*runtime.Object, _ checker.Type) *runtime.Object
- func SqlExecute(args []*runtime.Object, _ checker.Type) *runtime.Object
- func SqlExtractParams(args []*runtime.Object, _ checker.Type) *runtime.Object
- func SqlQuery(args []*runtime.Object, _ checker.Type) *runtime.Object
- func SqlRollback(args []*runtime.Object, _ checker.Type) *runtime.Object
- func StrToDynamic(args []*runtime.Object, _ checker.Type) *runtime.Object
- func VoidToDynamic(args []*runtime.Object, _ checker.Type) *runtime.Object
- func WaitFor(args []*runtime.Object, _ checker.Type) *runtime.Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeBool ¶
fn (Dynamic) Bool!Error
func DecodeFloat ¶
fn (Dynamic) Float!Error
func DecodeString ¶
fn (Dynamic) Str!Error
func DynamicToList ¶
fn (Dyanmic) [Dynamic]!Str
func DynamicToMap ¶
fn (Dyanmic) [Dynamic:Dynamic]!Str
func ExtractField ¶
fn (Dynamic, Str) Dynamic!Str
func FS_ListDir ¶ added in v0.3.0
func FloatFloor ¶
FloatFloor returns the floor of a float
func FloatFromInt ¶
FloatFromInt converts an integer to a float
func FloatFromStr ¶
FloatFromStr parses a string to a float, returning Float? (Maybe<Float>)
func GetPathValue ¶
fn (req: Dynamic, name: Str) Str
func GetQueryParam ¶
fn (req: Dynamic, name: Str) Str
func GetReqPath ¶
fn (req: Dynamic) Str
func HTTP_Serve ¶
fn serve(port: Int, handlers: [Str:fn(Request) Response])
func JsonEncode ¶
Encode an Ard value into a JSON string
func JsonToDynamic ¶
Parse external data (JSON text) into Dynamic object
func ListToDynamic ¶ added in v0.2.0
func MapToDynamic ¶ added in v0.2.0
func PanicWithMessage ¶
PanicWithMessage panics with a message
func SqlBeginTx ¶ added in v0.3.0
SqlBeginTx begins a new transaction
func SqlCreateConnection ¶ added in v0.2.0
SqlCreateConnection creates a new database connection from a connection string Supports connection strings for various drivers: - SQLite: "file:test.db" or "test.db" - PostgreSQL: "postgres://user:password@localhost:5432/dbname" - MySQL: "user:password@tcp(localhost:3306)/dbname"
func SqlExecute ¶ added in v0.2.0
executes a query and doesn't return rows
func SqlExtractParams ¶ added in v0.2.0
Extract parameter names from a sql expression in the order they appear
func SqlRollback ¶ added in v0.3.0
SqlRollback rolls back a transaction
Types ¶
This section is empty.