extractor.md


category: Concept redirect_from: - /docs/v0.4.0/concept/extractor/ - /docs/latest/concept/extractor/ title: “变量提取模块” sort_title: “3” —

变量提取模块,是一系列变量提取器的集合,一般格式如下:

"extractor": {
    "type": 1,//提取器类型,1指索引式提取,2指模板式提取
    "extractions": [
        {//一个提取器
            "type": "Query",
            "name": "wd"
        },
        {
            "type": "Header",
            "name": "from",
            "default": "this_is_default_value"
        }
    ]
}

关于两种变量提取器的描述,可以参看#issues15

糖果

糖果
LUA从入门到放弃

Tweyseo Walkonluajit 1

# **0. 背景**## **a. 目的**这里主要研究LuaJIT的Trace的相关原理,并且展示如何使用LuaJIT提供的[v.lua](https://github.com/LuaJIT/LuaJIT/blob/master/src/jit/v.lua)和[dump...… Continue reading

Nginx+Lua中文WIKI

Published on March 14, 2019