util

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildURL

func BuildURL(L *lua.LState) int

BuildURL lua http.parse_url(table) returns string

func Loader

func Loader(L *lua.LState) int

Loader is the module loader function.

func ParseURL

func ParseURL(L *lua.LState) int

ParseURL lua http.parse_url(string) returns (table, err)

func Preload

func Preload(L *lua.LState)

Preload adds http to the given Lua state's package.preload table. After it has been preloaded, it can be loaded using require:

local http_util = require("http_util")

func QueryEscape

func QueryEscape(L *lua.LState) int

QueryEscape lua http.query_escape(string) returns escaped string

func QueryUnescape

func QueryUnescape(L *lua.LState) int

QueryUnescape lua http.query_unescape(string) returns unescaped (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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