luarunner

0

Описание

A wrapper library for LuaJIT for Go

Языки

  • C92,6%
  • Go7,4%
год назад
год назад
год назад
год назад
год назад
год назад
год назад
год назад
год назад
10 месяцев назад
год назад
год назад
год назад
год назад
README.md

Go wrapper for LuaJIT with built-in extensions

Lua extensions

hash
library

  1. hash.postgres
    -
    pg_hash_bytes
    from PostgreSQL sources
  2. hash.murmur2
    ,
    hash.murmur3
    -
    MurmurHash2
    and
    MurmurHash3_x86_32
    by Austin Appleby. In ClickHouse, these functions are called
    murmurHash2_32
    and
    murmurHash3_32
    respectively
  3. hash.xxhash
    -
    XXH32
    by Yann Collet. In ClickHouse, this function is called
    xxHash32
  4. hash.crc32
    - from libiberty

cjson
library

Original library, documentation

  1. cjson
  2. cjson_safe

yyjson

A fast and non-destructive Lua library for working with JSON. The JSON document is stored in internal yyjson structures and is not marshalled or unmarshalled to Lua values. Creating JSON arrays is not supported.

  1. yyjson.load
    - parses JSON into a read-only object
  2. yyjson.load_mut
    - parses JSON into a mutable object
  3. yyjson.new
    - creates a new mutable JSON object
  4. yyjson.null
    - null constant
  5. tostring(v)
    - serializes a mutable JSON object to a string

examples