[{"data":1,"prerenderedAt":2529},["ShallowReactive",2],{"navigation_docs":3,"-docs-reference-turnstile":997},[4,27,63,138,312,336,918,931,979,993],{"title":5,"path":6,"stem":7,"children":8,"order":10,"icon":11},"Overview","\u002Fdocs\u002Foverview","docs\u002F1.overview\u002Findex",[9,12,18,24],{"title":5,"path":6,"stem":7,"order":10,"icon":11},1,"i-lucide-info",{"title":13,"path":14,"stem":15,"order":16,"icon":17},"Getting Started","\u002Fdocs\u002Foverview\u002Fgetting-started","docs\u002F1.overview\u002F2.getting-started",2,"i-lucide-rocket",{"title":19,"path":20,"stem":21,"order":22,"icon":23},"Contributing","\u002Fdocs\u002Foverview\u002Fcontributing","docs\u002F1.overview\u002F3.contributing",3,"i-lucide-heart",{"title":5,"path":25,"stem":26,"order":10},"\u002Fdocs\u002Foverview\u002F_dir","docs\u002F1.overview\u002F_dir",{"title":28,"path":29,"stem":30,"children":31,"page":62},"Concepts","\u002Fdocs\u002Fconcepts","docs\u002F2.concepts",[32,37,42,47,53,59],{"title":33,"path":34,"stem":35,"order":10,"icon":36},"Events","\u002Fdocs\u002Fconcepts\u002Fevents","docs\u002F2.concepts\u002F1.events","i-lucide-zap",{"title":38,"path":39,"stem":40,"order":16,"icon":41},"Transports","\u002Fdocs\u002Fconcepts\u002Ftransports","docs\u002F2.concepts\u002F2.transports","i-lucide-network",{"title":43,"path":44,"stem":45,"order":22,"icon":46},"Module System","\u002Fdocs\u002Fconcepts\u002Fmodules","docs\u002F2.concepts\u002F3.modules","i-lucide-puzzle",{"title":48,"path":49,"stem":50,"order":51,"icon":52},"Flows","\u002Fdocs\u002Fconcepts\u002Fflows","docs\u002F2.concepts\u002F4.flows",4,"i-lucide-workflow",{"title":54,"path":55,"stem":56,"order":57,"icon":58},"Scheduler","\u002Fdocs\u002Fconcepts\u002Fscheduler","docs\u002F2.concepts\u002F5.scheduler",5,"i-lucide-clock",{"title":28,"path":60,"stem":61,"order":16},"\u002Fdocs\u002Fconcepts\u002F_dir","docs\u002F2.concepts\u002F_dir",false,{"title":64,"path":65,"stem":66,"children":67,"page":62},"Guides","\u002Fdocs\u002Fguides","docs\u002F3.guides",[68,73,77,81,86,90,94,98,102,107,113,119,125,131,135],{"title":69,"path":70,"stem":71,"order":10,"icon":72},"Creating a Go App","\u002Fdocs\u002Fguides\u002Fcreating-go-app","docs\u002F3.guides\u002F1.creating-go-app","i-lucide-terminal",{"title":74,"path":75,"stem":76},"E2E tests & demo videos","\u002Fdocs\u002Fguides\u002Fe2e-and-demo-videos","docs\u002F3.guides\u002F10.e2e-and-demo-videos",{"title":78,"path":79,"stem":80,"icon":17},"Deploying to production","\u002Fdocs\u002Fguides\u002Fdeploying-to-production","docs\u002F3.guides\u002F11.deploying-to-production",{"title":82,"path":83,"stem":84,"icon":85},"Events & services dashboard","\u002Fdocs\u002Fguides\u002Fevents-dashboard","docs\u002F3.guides\u002F12.events-dashboard","i-lucide-radio-tower",{"title":87,"path":88,"stem":89,"icon":41},"Multi-server Swarm","\u002Fdocs\u002Fguides\u002Fmulti-server-swarm","docs\u002F3.guides\u002F13.multi-server-swarm",{"title":91,"path":92,"stem":93,"order":16,"icon":46},"Creating a Go Module","\u002Fdocs\u002Fguides\u002Fcreating-go-module","docs\u002F3.guides\u002F2.creating-go-module",{"title":95,"path":96,"stem":97,"order":22,"icon":36},"Adding Events","\u002Fdocs\u002Fguides\u002Fadding-events-to-go-module","docs\u002F3.guides\u002F3.adding-events-to-go-module",{"title":99,"path":100,"stem":101,"order":51,"icon":52},"FlowDSL to Service","\u002Fdocs\u002Fguides\u002Fflowdsl-to-redelay","docs\u002F3.guides\u002F4.flowdsl-to-redelay",{"title":103,"path":104,"stem":105,"order":57,"icon":106},"Choosing a Transport","\u002Fdocs\u002Fguides\u002Fchoosing-a-transport","docs\u002F3.guides\u002F5.choosing-a-transport","i-lucide-git-branch",{"title":108,"path":109,"stem":110,"order":111,"icon":112},"Module Browser (\u002Fmodules)","\u002Fdocs\u002Fguides\u002Fmodules-browser","docs\u002F3.guides\u002F6.modules-browser",6,"i-lucide-layout-dashboard",{"title":114,"path":115,"stem":116,"order":117,"icon":118},"Running Flows","\u002Fdocs\u002Fguides\u002Frunning-flows","docs\u002F3.guides\u002F7.running-flows",7,"i-lucide-play-circle",{"title":120,"path":121,"stem":122,"order":123,"icon":124},"Trace + Live Observability","\u002Fdocs\u002Fguides\u002Fobservability","docs\u002F3.guides\u002F8.observability",8,"i-lucide-activity",{"title":126,"path":127,"stem":128,"order":129,"icon":130},"Project AI Assistant","\u002Fdocs\u002Fguides\u002Fai-assistant","docs\u002F3.guides\u002F9.ai-assistant",9,"i-lucide-sparkles",{"title":132,"path":133,"stem":134},"Debug taps — trace live data through any node","\u002Fdocs\u002Fguides\u002Fdebug-taps","docs\u002F3.guides\u002F9.debug-taps",{"title":64,"path":136,"stem":137,"order":22},"\u002Fdocs\u002Fguides\u002F_dir","docs\u002F3.guides\u002F_dir",{"title":139,"path":140,"stem":141,"children":142,"page":62},"Reference","\u002Fdocs\u002Freference","docs\u002F4.reference",[143,148,152,157,162,167,172,177,181,186,191,196,202,208,214,219,224,228,234,239,245,251,256,262,268,272,276,282,287,293,297,303,309],{"title":144,"path":145,"stem":146,"order":10,"icon":147},"Go Framework","\u002Fdocs\u002Freference\u002Fgo-framework","docs\u002F4.reference\u002F01.go-framework","i-simple-icons-go",{"title":149,"path":150,"stem":151,"order":16,"icon":46},"Built-in Modules","\u002Fdocs\u002Freference\u002Fgo-modules","docs\u002F4.reference\u002F02.go-modules",{"title":153,"path":154,"stem":155,"order":22,"icon":156},"Domain Addon Modules","\u002Fdocs\u002Freference\u002Fgo-modules-addons","docs\u002F4.reference\u002F03.go-modules-addons","i-lucide-blocks",{"title":158,"path":159,"stem":160,"order":51,"icon":161},"Go Events","\u002Fdocs\u002Freference\u002Fgo-events","docs\u002F4.reference\u002F04.go-events","i-lucide-radio",{"title":163,"path":164,"stem":165,"order":57,"icon":166},"Email Module","\u002Fdocs\u002Freference\u002Fgo-module-email","docs\u002F4.reference\u002F05.go-module-email","i-lucide-mail",{"title":168,"path":169,"stem":170,"order":111,"icon":171},"Go Core & IR","\u002Fdocs\u002Freference\u002Fgo-core","docs\u002F4.reference\u002F06.go-core","i-lucide-cpu",{"title":173,"path":174,"stem":175,"order":117,"icon":176},"Module Definition Files","\u002Fdocs\u002Freference\u002Fgo-module-files","docs\u002F4.reference\u002F07.go-module-files","i-lucide-file-code",{"title":178,"path":179,"stem":180,"order":123,"icon":72},"CLI Reference","\u002Fdocs\u002Freference\u002Fgo-cli","docs\u002F4.reference\u002F08.go-cli",{"title":182,"path":183,"stem":184,"order":129,"icon":185},"Go Formats","\u002Fdocs\u002Freference\u002Fgo-formats","docs\u002F4.reference\u002F09.go-formats","i-lucide-file-json",{"title":187,"path":188,"stem":189,"order":190,"icon":161},"AsyncAPI Module","\u002Fdocs\u002Freference\u002Fgo-asyncapi","docs\u002F4.reference\u002F10.go-asyncapi",10,{"title":192,"path":193,"stem":194,"order":195,"icon":52},"Go FlowDSL","\u002Fdocs\u002Freference\u002Fgo-flowdsl","docs\u002F4.reference\u002F11.go-flowdsl",11,{"title":197,"path":198,"stem":199,"order":200,"icon":201},"FlowDSL Examples","\u002Fdocs\u002Freference\u002Fflowdsl-examples","docs\u002F4.reference\u002F12.flowdsl-examples",12,"i-lucide-file-code-2",{"title":203,"path":204,"stem":205,"order":206,"icon":207},"FlowDSL Sync","\u002Fdocs\u002Freference\u002Fflowdsl-sync","docs\u002F4.reference\u002F13.flowdsl-sync",13,"i-lucide-refresh-cw",{"title":209,"path":210,"stem":211,"order":212,"icon":213},"Node.js Framework","\u002Fdocs\u002Freference\u002Fjs-framework","docs\u002F4.reference\u002F14.js-framework",14,"i-simple-icons-nodedotjs",{"title":215,"path":216,"stem":217,"order":212,"icon":218},"Python Framework","\u002Fdocs\u002Freference\u002Fpy-framework","docs\u002F4.reference\u002F14.py-framework","i-simple-icons-python",{"title":220,"path":221,"stem":222,"order":223,"icon":213},"Node.js Events","\u002Fdocs\u002Freference\u002Fjs-events","docs\u002F4.reference\u002F15.js-events",15,{"title":225,"path":226,"stem":227,"order":223,"icon":218},"Python Events","\u002Fdocs\u002Freference\u002Fpy-events","docs\u002F4.reference\u002F15.py-events",{"title":229,"path":230,"stem":231,"order":232,"icon":233},"go-ai — LLM Providers, Guard, Ledger","\u002Fdocs\u002Freference\u002Fgo-ai","docs\u002F4.reference\u002F16.go-ai",16,"i-lucide-brain-circuit",{"title":235,"path":236,"stem":237,"order":238,"icon":41},"Infrastructure Modules","\u002Fdocs\u002Freference\u002Fgeneric-infra-modules","docs\u002F4.reference\u002F17.generic-infra-modules",17,{"title":240,"path":241,"stem":242,"order":243,"icon":244},"Flow Templates","\u002Fdocs\u002Freference\u002Fflow-templates","docs\u002F4.reference\u002F18.flow-templates",18,"i-lucide-library-big",{"title":246,"path":247,"stem":248,"order":249,"icon":250},"Assistant (chat + handoff)","\u002Fdocs\u002Freference\u002Fassistant","docs\u002F4.reference\u002F19.assistant",19,"i-lucide-messages-square",{"title":252,"path":253,"stem":254,"order":255,"icon":41},"Coordination","\u002Fdocs\u002Freference\u002Fcoordination","docs\u002F4.reference\u002F20.coordination",20,{"title":257,"path":258,"stem":259,"order":260,"icon":261},"Search (vector)","\u002Fdocs\u002Freference\u002Fsearch","docs\u002F4.reference\u002F21.search",21,"i-lucide-search",{"title":263,"path":264,"stem":265,"order":266,"icon":267},"Profiles","\u002Fdocs\u002Freference\u002Fprofiles","docs\u002F4.reference\u002F22.profiles",22,"i-lucide-bookmark",{"title":269,"path":270,"stem":271},"Flow-driven HTTP endpoints","\u002Fdocs\u002Freference\u002Fflow-driven-endpoints","docs\u002F4.reference\u002F23.flow-driven-endpoints",{"title":273,"path":274,"stem":275},"Deployments","\u002Fdocs\u002Freference\u002Fdeployments","docs\u002F4.reference\u002F24.deployments",{"title":277,"path":278,"stem":279,"order":280,"icon":281},"i18n (translations)","\u002Fdocs\u002Freference\u002Fi18n","docs\u002F4.reference\u002F25.i18n",25,"i-lucide-languages",{"title":283,"path":284,"stem":285,"order":286,"icon":161},"WebSockets","\u002Fdocs\u002Freference\u002Fwebsockets","docs\u002F4.reference\u002F26.websockets",26,{"title":288,"path":289,"stem":290,"order":291,"icon":292},"Localized content","\u002Fdocs\u002Freference\u002Flocalized-content","docs\u002F4.reference\u002F27.localized-content",27,"i-lucide-file-text",{"title":294,"path":295,"stem":296},"Instagram","\u002Fdocs\u002Freference\u002Finstagram","docs\u002F4.reference\u002F28.instagram",{"title":298,"path":299,"stem":300,"order":301,"icon":302},"Regions","\u002Fdocs\u002Freference\u002Fregions","docs\u002F4.reference\u002F29.regions",29,"i-lucide-globe-2",{"title":304,"path":305,"stem":306,"order":307,"icon":308},"Turnstile","\u002Fdocs\u002Freference\u002Fturnstile","docs\u002F4.reference\u002F30.turnstile",30,"i-lucide-shield-check",{"title":139,"path":310,"stem":311,"order":51},"\u002Fdocs\u002Freference\u002F_dir","docs\u002F4.reference\u002F_dir",{"title":313,"path":314,"stem":315,"children":316,"page":62},"Integrations","\u002Fdocs\u002Fintegrations","docs\u002F5.integrations",[317,321,325,329,333],{"title":318,"path":319,"stem":320,"order":10,"icon":52},"FlowDSL","\u002Fdocs\u002Fintegrations\u002Fflowdsl","docs\u002F5.integrations\u002F1.flowdsl",{"title":322,"path":323,"stem":324,"order":16,"icon":292},"OpenAPI","\u002Fdocs\u002Fintegrations\u002Fopenapi","docs\u002F5.integrations\u002F2.openapi",{"title":326,"path":327,"stem":328,"order":22,"icon":161},"AsyncAPI","\u002Fdocs\u002Fintegrations\u002Fasyncapi","docs\u002F5.integrations\u002F3.asyncapi",{"title":330,"path":331,"stem":332},"MCP Integration","\u002Fdocs\u002Fintegrations\u002Fmcp","docs\u002F5.integrations\u002F4.mcp",{"title":313,"path":334,"stem":335,"order":57},"\u002Fdocs\u002Fintegrations\u002F_dir","docs\u002F5.integrations\u002F_dir",{"title":337,"path":338,"stem":339,"children":340},"FlowDSL Node Catalog","\u002Fdocs\u002Fnodes","docs\u002F5.nodes\u002Findex",[341,342,346,350,354,358,362,366,370,374,378,382,386,390,394,398,402,406,410,414,418,422,426,430,434,438,442,446,450,454,458,462,466,470,474,478,482,486,490,494,498,502,506,510,514,518,522,526,530,534,538,542,546,550,554,558,562,566,570,574,578,582,586,590,594,598,602,606,610,614,618,622,626,630,634,638,642,646,650,654,658,662,666,670,674,678,682,686,690,694,698,702,706,710,714,718,722,726,730,734,738,742,746,750,754,758,762,766,770,774,778,782,786,790,794,798,802,806,810,814,818,822,826,830,834,838,842,846,850,854,858,862,866,870,874,878,882,886,890,894,898,902,906,910,914],{"title":337,"path":338,"stem":339},{"title":343,"path":344,"stem":345,"order":57},"Node Catalog","\u002Fdocs\u002Fnodes\u002F_dir","docs\u002F5.nodes\u002F_dir",{"title":347,"path":348,"stem":349},"Record Alert","\u002Fdocs\u002Fnodes\u002Falerts_record","docs\u002F5.nodes\u002Falerts_record",{"title":351,"path":352,"stem":353},"Log to API Log","\u002Fdocs\u002Fnodes\u002Fapilog_record","docs\u002F5.nodes\u002Fapilog_record",{"title":355,"path":356,"stem":357},"ClickHouse Exec","\u002Fdocs\u002Fnodes\u002Fclickhouse_exec","docs\u002F5.nodes\u002Fclickhouse_exec",{"title":359,"path":360,"stem":361},"ClickHouse Insert","\u002Fdocs\u002Fnodes\u002Fclickhouse_insert","docs\u002F5.nodes\u002Fclickhouse_insert",{"title":363,"path":364,"stem":365},"ClickHouse Query","\u002Fdocs\u002Fnodes\u002Fclickhouse_query","docs\u002F5.nodes\u002Fclickhouse_query",{"title":367,"path":368,"stem":369},"Array Op","\u002Fdocs\u002Fnodes\u002Fcore_array-ops","docs\u002F5.nodes\u002Fcore_array-ops",{"title":371,"path":372,"stem":373},"Assert","\u002Fdocs\u002Fnodes\u002Fcore_assert","docs\u002F5.nodes\u002Fcore_assert",{"title":375,"path":376,"stem":377},"Audit Emit","\u002Fdocs\u002Fnodes\u002Fcore_audit-emit","docs\u002F5.nodes\u002Fcore_audit-emit",{"title":379,"path":380,"stem":381},"Catch","\u002Fdocs\u002Fnodes\u002Fcore_catch","docs\u002F5.nodes\u002Fcore_catch",{"title":383,"path":384,"stem":385},"DateTime","\u002Fdocs\u002Fnodes\u002Fcore_datetime","docs\u002F5.nodes\u002Fcore_datetime",{"title":387,"path":388,"stem":389},"Dead Letter","\u002Fdocs\u002Fnodes\u002Fcore_dead-letter","docs\u002F5.nodes\u002Fcore_dead-letter",{"title":391,"path":392,"stem":393},"Delay","\u002Fdocs\u002Fnodes\u002Fcore_delay","docs\u002F5.nodes\u002Fcore_delay",{"title":395,"path":396,"stem":397},"ForEach","\u002Fdocs\u002Fnodes\u002Fcore_foreach","docs\u002F5.nodes\u002Fcore_foreach",{"title":399,"path":400,"stem":401},"Idempotency Key","\u002Fdocs\u002Fnodes\u002Fcore_idempotency-key","docs\u002F5.nodes\u002Fcore_idempotency-key",{"title":403,"path":404,"stem":405},"If","\u002Fdocs\u002Fnodes\u002Fcore_if","docs\u002F5.nodes\u002Fcore_if",{"title":407,"path":408,"stem":409},"Inspect","\u002Fdocs\u002Fnodes\u002Fcore_inspect","docs\u002F5.nodes\u002Fcore_inspect",{"title":411,"path":412,"stem":413},"JSON Merge","\u002Fdocs\u002Fnodes\u002Fcore_json-merge","docs\u002F5.nodes\u002Fcore_json-merge",{"title":415,"path":416,"stem":417},"JSON Schema Validate","\u002Fdocs\u002Fnodes\u002Fcore_json-schema-validate","docs\u002F5.nodes\u002Fcore_json-schema-validate",{"title":419,"path":420,"stem":421},"JSONPath Extract","\u002Fdocs\u002Fnodes\u002Fcore_jsonpath-extract","docs\u002F5.nodes\u002Fcore_jsonpath-extract",{"title":423,"path":424,"stem":425},"Log","\u002Fdocs\u002Fnodes\u002Fcore_log","docs\u002F5.nodes\u002Fcore_log",{"title":427,"path":428,"stem":429},"Math","\u002Fdocs\u002Fnodes\u002Fcore_math","docs\u002F5.nodes\u002Fcore_math",{"title":431,"path":432,"stem":433},"Merge","\u002Fdocs\u002Fnodes\u002Fcore_merge","docs\u002F5.nodes\u002Fcore_merge",{"title":435,"path":436,"stem":437},"Metric Counter","\u002Fdocs\u002Fnodes\u002Fcore_metric-counter","docs\u002F5.nodes\u002Fcore_metric-counter",{"title":439,"path":440,"stem":441},"Metric Gauge","\u002Fdocs\u002Fnodes\u002Fcore_metric-gauge","docs\u002F5.nodes\u002Fcore_metric-gauge",{"title":443,"path":444,"stem":445},"Mock","\u002Fdocs\u002Fnodes\u002Fcore_mock","docs\u002F5.nodes\u002Fcore_mock",{"title":447,"path":448,"stem":449},"No-op","\u002Fdocs\u002Fnodes\u002Fcore_noop","docs\u002F5.nodes\u002Fcore_noop",{"title":451,"path":452,"stem":453},"Object Omit","\u002Fdocs\u002Fnodes\u002Fcore_object-omit","docs\u002F5.nodes\u002Fcore_object-omit",{"title":455,"path":456,"stem":457},"Object Pick","\u002Fdocs\u002Fnodes\u002Fcore_object-pick","docs\u002F5.nodes\u002Fcore_object-pick",{"title":459,"path":460,"stem":461},"Parallel Fan-Out","\u002Fdocs\u002Fnodes\u002Fcore_parallel","docs\u002F5.nodes\u002Fcore_parallel",{"title":463,"path":464,"stem":465},"Raise","\u002Fdocs\u002Fnodes\u002Fcore_raise","docs\u002F5.nodes\u002Fcore_raise",{"title":467,"path":468,"stem":469},"Rate Limit Check","\u002Fdocs\u002Fnodes\u002Fcore_rate-limit-check","docs\u002F5.nodes\u002Fcore_rate-limit-check",{"title":471,"path":472,"stem":473},"Regex Extract","\u002Fdocs\u002Fnodes\u002Fcore_regex-extract","docs\u002F5.nodes\u002Fcore_regex-extract",{"title":475,"path":476,"stem":477},"Require Fields","\u002Fdocs\u002Fnodes\u002Fcore_require-fields","docs\u002F5.nodes\u002Fcore_require-fields",{"title":479,"path":480,"stem":481},"Rethrow","\u002Fdocs\u002Fnodes\u002Fcore_rethrow","docs\u002F5.nodes\u002Fcore_rethrow",{"title":483,"path":484,"stem":485},"Return","\u002Fdocs\u002Fnodes\u002Fcore_return","docs\u002F5.nodes\u002Fcore_return",{"title":487,"path":488,"stem":489},"HMAC Signature Verify","\u002Fdocs\u002Fnodes\u002Fcore_signature-verify","docs\u002F5.nodes\u002Fcore_signature-verify",{"title":491,"path":492,"stem":493},"String Op","\u002Fdocs\u002Fnodes\u002Fcore_string-ops","docs\u002F5.nodes\u002Fcore_string-ops",{"title":495,"path":496,"stem":497},"Subflow Invoke","\u002Fdocs\u002Fnodes\u002Fcore_subflow-invoke","docs\u002F5.nodes\u002Fcore_subflow-invoke",{"title":499,"path":500,"stem":501},"Switch","\u002Fdocs\u002Fnodes\u002Fcore_switch","docs\u002F5.nodes\u002Fcore_switch",{"title":503,"path":504,"stem":505},"Template Render","\u002Fdocs\u002Fnodes\u002Fcore_template-render","docs\u002F5.nodes\u002Fcore_template-render",{"title":507,"path":508,"stem":509},"Throttle","\u002Fdocs\u002Fnodes\u002Fcore_throttle","docs\u002F5.nodes\u002Fcore_throttle",{"title":511,"path":512,"stem":513},"Timeout","\u002Fdocs\u002Fnodes\u002Fcore_timeout","docs\u002F5.nodes\u002Fcore_timeout",{"title":515,"path":516,"stem":517},"Type Cast","\u002Fdocs\u002Fnodes\u002Fcore_type-cast","docs\u002F5.nodes\u002Fcore_type-cast",{"title":519,"path":520,"stem":521},"Webhook Respond","\u002Fdocs\u002Fnodes\u002Fcore_webhook-respond","docs\u002F5.nodes\u002Fcore_webhook-respond",{"title":523,"path":524,"stem":525},"File Delete","\u002Fdocs\u002Fnodes\u002Ffilesys_delete","docs\u002F5.nodes\u002Ffilesys_delete",{"title":527,"path":528,"stem":529},"Directory List","\u002Fdocs\u002Fnodes\u002Ffilesys_list","docs\u002F5.nodes\u002Ffilesys_list",{"title":531,"path":532,"stem":533},"File Read","\u002Fdocs\u002Fnodes\u002Ffilesys_read","docs\u002F5.nodes\u002Ffilesys_read",{"title":535,"path":536,"stem":537},"File Stat","\u002Fdocs\u002Fnodes\u002Ffilesys_stat","docs\u002F5.nodes\u002Ffilesys_stat",{"title":539,"path":540,"stem":541},"File Write","\u002Fdocs\u002Fnodes\u002Ffilesys_write","docs\u002F5.nodes\u002Ffilesys_write",{"title":543,"path":544,"stem":545},"FTP Delete","\u002Fdocs\u002Fnodes\u002Fftp_delete","docs\u002F5.nodes\u002Fftp_delete",{"title":547,"path":548,"stem":549},"FTP Download","\u002Fdocs\u002Fnodes\u002Fftp_download","docs\u002F5.nodes\u002Fftp_download",{"title":551,"path":552,"stem":553},"FTP List","\u002Fdocs\u002Fnodes\u002Fftp_list","docs\u002F5.nodes\u002Fftp_list",{"title":555,"path":556,"stem":557},"FTP Upload","\u002Fdocs\u002Fnodes\u002Fftp_upload","docs\u002F5.nodes\u002Fftp_upload",{"title":559,"path":560,"stem":561},"HTTP DELETE","\u002Fdocs\u002Fnodes\u002Fhttp_delete","docs\u002F5.nodes\u002Fhttp_delete",{"title":563,"path":564,"stem":565},"HTTP GET","\u002Fdocs\u002Fnodes\u002Fhttp_get","docs\u002F5.nodes\u002Fhttp_get",{"title":567,"path":568,"stem":569},"HTTP POST","\u002Fdocs\u002Fnodes\u002Fhttp_post","docs\u002F5.nodes\u002Fhttp_post",{"title":571,"path":572,"stem":573},"HTTP PUT","\u002Fdocs\u002Fnodes\u002Fhttp_put","docs\u002F5.nodes\u002Fhttp_put",{"title":575,"path":576,"stem":577},"HTTP Request","\u002Fdocs\u002Fnodes\u002Fhttp_request","docs\u002F5.nodes\u002Fhttp_request",{"title":579,"path":580,"stem":581},"Fill Translations","\u002Fdocs\u002Fnodes\u002Fi18n_fill-translations","docs\u002F5.nodes\u002Fi18n_fill-translations",{"title":583,"path":584,"stem":585},"Resolve Locale","\u002Fdocs\u002Fnodes\u002Fi18n_resolve-locale","docs\u002F5.nodes\u002Fi18n_resolve-locale",{"title":587,"path":588,"stem":589},"Translate","\u002Fdocs\u002Fnodes\u002Fi18n_translate","docs\u002F5.nodes\u002Fi18n_translate",{"title":591,"path":592,"stem":593},"Mongo AGGREGATE","\u002Fdocs\u002Fnodes\u002Fmongoops_aggregate","docs\u002F5.nodes\u002Fmongoops_aggregate",{"title":595,"path":596,"stem":597},"Mongo DELETE","\u002Fdocs\u002Fnodes\u002Fmongoops_delete","docs\u002F5.nodes\u002Fmongoops_delete",{"title":599,"path":600,"stem":601},"Mongo FIND","\u002Fdocs\u002Fnodes\u002Fmongoops_find","docs\u002F5.nodes\u002Fmongoops_find",{"title":603,"path":604,"stem":605},"Mongo FIND ONE","\u002Fdocs\u002Fnodes\u002Fmongoops_find-one","docs\u002F5.nodes\u002Fmongoops_find-one",{"title":607,"path":608,"stem":609},"Mongo INSERT","\u002Fdocs\u002Fnodes\u002Fmongoops_insert","docs\u002F5.nodes\u002Fmongoops_insert",{"title":611,"path":612,"stem":613},"Mongo UPDATE","\u002Fdocs\u002Fnodes\u002Fmongoops_update","docs\u002F5.nodes\u002Fmongoops_update",{"title":615,"path":616,"stem":617},"Postgres COPY FROM","\u002Fdocs\u002Fnodes\u002Fpostgres_copy-from","docs\u002F5.nodes\u002Fpostgres_copy-from",{"title":619,"path":620,"stem":621},"Postgres Exec","\u002Fdocs\u002Fnodes\u002Fpostgres_exec","docs\u002F5.nodes\u002Fpostgres_exec",{"title":623,"path":624,"stem":625},"Postgres Query","\u002Fdocs\u002Fnodes\u002Fpostgres_query","docs\u002F5.nodes\u002Fpostgres_query",{"title":627,"path":628,"stem":629},"Postgres Transaction","\u002Fdocs\u002Fnodes\u002Fpostgres_transaction","docs\u002F5.nodes\u002Fpostgres_transaction",{"title":631,"path":632,"stem":633},"RabbitMQ Consume","\u002Fdocs\u002Fnodes\u002Frabbitmq_consume","docs\u002F5.nodes\u002Frabbitmq_consume",{"title":635,"path":636,"stem":637},"RabbitMQ Declare","\u002Fdocs\u002Fnodes\u002Frabbitmq_declare","docs\u002F5.nodes\u002Frabbitmq_declare",{"title":639,"path":640,"stem":641},"RabbitMQ Publish","\u002Fdocs\u002Fnodes\u002Frabbitmq_publish","docs\u002F5.nodes\u002Frabbitmq_publish",{"title":643,"path":644,"stem":645},"Auth Login","\u002Fdocs\u002Fnodes\u002Fredelay_auth-login","docs\u002F5.nodes\u002Fredelay_auth-login",{"title":647,"path":648,"stem":649},"Require Permission","\u002Fdocs\u002Fnodes\u002Fredelay_auth-require-permission","docs\u002F5.nodes\u002Fredelay_auth-require-permission",{"title":651,"path":652,"stem":653},"Validate Token","\u002Fdocs\u002Fnodes\u002Fredelay_auth-validate-token","docs\u002F5.nodes\u002Fredelay_auth-validate-token",{"title":655,"path":656,"stem":657},"Render Email Template","\u002Fdocs\u002Fnodes\u002Fredelay_email-render-template","docs\u002F5.nodes\u002Fredelay_email-render-template",{"title":659,"path":660,"stem":661},"Send Email","\u002Fdocs\u002Fnodes\u002Fredelay_email-send","docs\u002F5.nodes\u002Fredelay_email-send",{"title":663,"path":664,"stem":665},"Send Templated Email","\u002Fdocs\u002Fnodes\u002Fredelay_email-send-templated","docs\u002F5.nodes\u002Fredelay_email-send-templated",{"title":667,"path":668,"stem":669},"Event Source","\u002Fdocs\u002Fnodes\u002Fredelay_event-source","docs\u002F5.nodes\u002Fredelay_event-source",{"title":671,"path":672,"stem":673},"Create Group","\u002Fdocs\u002Fnodes\u002Fredelay_groups-create-group","docs\u002F5.nodes\u002Fredelay_groups-create-group",{"title":675,"path":676,"stem":677},"Delete Group","\u002Fdocs\u002Fnodes\u002Fredelay_groups-delete-group","docs\u002F5.nodes\u002Fredelay_groups-delete-group",{"title":679,"path":680,"stem":681},"Resolve Permissions","\u002Fdocs\u002Fnodes\u002Fredelay_groups-resolve-permissions","docs\u002F5.nodes\u002Fredelay_groups-resolve-permissions",{"title":683,"path":684,"stem":685},"Update Group","\u002Fdocs\u002Fnodes\u002Fredelay_groups-update-group","docs\u002F5.nodes\u002Fredelay_groups-update-group",{"title":687,"path":688,"stem":689},"HTTP Endpoint","\u002Fdocs\u002Fnodes\u002Fredelay_http-endpoint","docs\u002F5.nodes\u002Fredelay_http-endpoint",{"title":691,"path":692,"stem":693},"JSON Stream Source","\u002Fdocs\u002Fnodes\u002Fredelay_json-stream-source","docs\u002F5.nodes\u002Fredelay_json-stream-source",{"title":695,"path":696,"stem":697},"JSON → Event","\u002Fdocs\u002Fnodes\u002Fredelay_json-to-event","docs\u002F5.nodes\u002Fredelay_json-to-event",{"title":699,"path":700,"stem":701},"Kafka Produce","\u002Fdocs\u002Fnodes\u002Fredelay_kafka-produce","docs\u002F5.nodes\u002Fredelay_kafka-produce",{"title":703,"path":704,"stem":705},"Create Short Link","\u002Fdocs\u002Fnodes\u002Fredelay_links-create","docs\u002F5.nodes\u002Fredelay_links-create",{"title":707,"path":708,"stem":709},"Delete Short Link","\u002Fdocs\u002Fnodes\u002Fredelay_links-delete","docs\u002F5.nodes\u002Fredelay_links-delete",{"title":711,"path":712,"stem":713},"Resolve Short Link","\u002Fdocs\u002Fnodes\u002Fredelay_links-resolve","docs\u002F5.nodes\u002Fredelay_links-resolve",{"title":715,"path":716,"stem":717},"LLM Chat","\u002Fdocs\u002Fnodes\u002Fredelay_llm-chat","docs\u002F5.nodes\u002Fredelay_llm-chat",{"title":719,"path":720,"stem":721},"LLM Embed","\u002Fdocs\u002Fnodes\u002Fredelay_llm-embed","docs\u002F5.nodes\u002Fredelay_llm-embed",{"title":723,"path":724,"stem":725},"LLM Guard","\u002Fdocs\u002Fnodes\u002Fredelay_llm-guard","docs\u002F5.nodes\u002Fredelay_llm-guard",{"title":727,"path":728,"stem":729},"LLM Tool Router","\u002Fdocs\u002Fnodes\u002Fredelay_llm-tool-router","docs\u002F5.nodes\u002Fredelay_llm-tool-router",{"title":731,"path":732,"stem":733},"NATS Publish","\u002Fdocs\u002Fnodes\u002Fredelay_nats-publish","docs\u002F5.nodes\u002Fredelay_nats-publish",{"title":735,"path":736,"stem":737},"Mark Notification Read","\u002Fdocs\u002Fnodes\u002Fredelay_notifications-mark-read","docs\u002F5.nodes\u002Fredelay_notifications-mark-read",{"title":739,"path":740,"stem":741},"Send Notification","\u002Fdocs\u002Fnodes\u002Fredelay_notifications-send","docs\u002F5.nodes\u002Fredelay_notifications-send",{"title":743,"path":744,"stem":745},"Redis Stream XADD","\u002Fdocs\u002Fnodes\u002Fredelay_redis-stream-publish","docs\u002F5.nodes\u002Fredelay_redis-stream-publish",{"title":747,"path":748,"stem":749},"S3 Copy Object","\u002Fdocs\u002Fnodes\u002Fredelay_s3-copy-object","docs\u002F5.nodes\u002Fredelay_s3-copy-object",{"title":751,"path":752,"stem":753},"S3 Delete Many","\u002Fdocs\u002Fnodes\u002Fredelay_s3-delete-many","docs\u002F5.nodes\u002Fredelay_s3-delete-many",{"title":755,"path":756,"stem":757},"S3 Head Object","\u002Fdocs\u002Fnodes\u002Fredelay_s3-head-object","docs\u002F5.nodes\u002Fredelay_s3-head-object",{"title":759,"path":760,"stem":761},"S3 List Objects","\u002Fdocs\u002Fnodes\u002Fredelay_s3-list-objects","docs\u002F5.nodes\u002Fredelay_s3-list-objects",{"title":763,"path":764,"stem":765},"Create Schedule","\u002Fdocs\u002Fnodes\u002Fredelay_scheduler-create-schedule","docs\u002F5.nodes\u002Fredelay_scheduler-create-schedule",{"title":767,"path":768,"stem":769},"Cron Trigger","\u002Fdocs\u002Fnodes\u002Fredelay_scheduler-cron-trigger","docs\u002F5.nodes\u002Fredelay_scheduler-cron-trigger",{"title":771,"path":772,"stem":773},"Delete Schedule","\u002Fdocs\u002Fnodes\u002Fredelay_scheduler-delete-schedule","docs\u002F5.nodes\u002Fredelay_scheduler-delete-schedule",{"title":775,"path":776,"stem":777},"Interval Trigger","\u002Fdocs\u002Fnodes\u002Fredelay_scheduler-interval-trigger","docs\u002F5.nodes\u002Fredelay_scheduler-interval-trigger",{"title":779,"path":780,"stem":781},"Search Query","\u002Fdocs\u002Fnodes\u002Fredelay_search-query","docs\u002F5.nodes\u002Fredelay_search-query",{"title":783,"path":784,"stem":785},"Search Upsert","\u002Fdocs\u002Fnodes\u002Fredelay_search-upsert","docs\u002F5.nodes\u002Fredelay_search-upsert",{"title":787,"path":788,"stem":789},"Delete Setting","\u002Fdocs\u002Fnodes\u002Fredelay_settings-delete","docs\u002F5.nodes\u002Fredelay_settings-delete",{"title":791,"path":792,"stem":793},"Get Setting","\u002Fdocs\u002Fnodes\u002Fredelay_settings-get","docs\u002F5.nodes\u002Fredelay_settings-get",{"title":795,"path":796,"stem":797},"Set Setting","\u002Fdocs\u002Fnodes\u002Fredelay_settings-set","docs\u002F5.nodes\u002Fredelay_settings-set",{"title":799,"path":800,"stem":801},"Delete File","\u002Fdocs\u002Fnodes\u002Fredelay_storage-delete","docs\u002F5.nodes\u002Fredelay_storage-delete",{"title":803,"path":804,"stem":805},"Download File","\u002Fdocs\u002Fnodes\u002Fredelay_storage-download","docs\u002F5.nodes\u002Fredelay_storage-download",{"title":807,"path":808,"stem":809},"Generate Presigned URL","\u002Fdocs\u002Fnodes\u002Fredelay_storage-presign-url","docs\u002F5.nodes\u002Fredelay_storage-presign-url",{"title":811,"path":812,"stem":813},"Upload File","\u002Fdocs\u002Fnodes\u002Fredelay_storage-upload","docs\u002F5.nodes\u002Fredelay_storage-upload",{"title":815,"path":816,"stem":817},"Subworkflow","\u002Fdocs\u002Fnodes\u002Fredelay_subworkflow","docs\u002F5.nodes\u002Fredelay_subworkflow",{"title":819,"path":820,"stem":821},"Activate User","\u002Fdocs\u002Fnodes\u002Fredelay_users-activate","docs\u002F5.nodes\u002Fredelay_users-activate",{"title":823,"path":824,"stem":825},"Create Pending User","\u002Fdocs\u002Fnodes\u002Fredelay_users-create-pending","docs\u002F5.nodes\u002Fredelay_users-create-pending",{"title":827,"path":828,"stem":829},"Create User","\u002Fdocs\u002Fnodes\u002Fredelay_users-create-user","docs\u002F5.nodes\u002Fredelay_users-create-user",{"title":831,"path":832,"stem":833},"Delete User","\u002Fdocs\u002Fnodes\u002Fredelay_users-delete-user","docs\u002F5.nodes\u002Fredelay_users-delete-user",{"title":835,"path":836,"stem":837},"Find User By Email","\u002Fdocs\u002Fnodes\u002Fredelay_users-find-by-email","docs\u002F5.nodes\u002Fredelay_users-find-by-email",{"title":839,"path":840,"stem":841},"Get User","\u002Fdocs\u002Fnodes\u002Fredelay_users-get-user","docs\u002F5.nodes\u002Fredelay_users-get-user",{"title":843,"path":844,"stem":845},"List Users","\u002Fdocs\u002Fnodes\u002Fredelay_users-list-users","docs\u002F5.nodes\u002Fredelay_users-list-users",{"title":847,"path":848,"stem":849},"Update User","\u002Fdocs\u002Fnodes\u002Fredelay_users-update-user","docs\u002F5.nodes\u002Fredelay_users-update-user",{"title":851,"path":852,"stem":853},"Request Email Verification (legacy)","\u002Fdocs\u002Fnodes\u002Fredelay_verification-request","docs\u002F5.nodes\u002Fredelay_verification-request",{"title":855,"path":856,"stem":857},"Request Email Verification","\u002Fdocs\u002Fnodes\u002Fredelay_verification-request-email","docs\u002F5.nodes\u002Fredelay_verification-request-email",{"title":859,"path":860,"stem":861},"Request SMS Verification","\u002Fdocs\u002Fnodes\u002Fredelay_verification-request-sms","docs\u002F5.nodes\u002Fredelay_verification-request-sms",{"title":863,"path":864,"stem":865},"Verify Token","\u002Fdocs\u002Fnodes\u002Fredelay_verification-verify","docs\u002F5.nodes\u002Fredelay_verification-verify",{"title":867,"path":868,"stem":869},"Redis DEL","\u002Fdocs\u002Fnodes\u002Fredisops_del","docs\u002F5.nodes\u002Fredisops_del",{"title":871,"path":872,"stem":873},"Redis EXPIRE","\u002Fdocs\u002Fnodes\u002Fredisops_expire","docs\u002F5.nodes\u002Fredisops_expire",{"title":875,"path":876,"stem":877},"Redis GET","\u002Fdocs\u002Fnodes\u002Fredisops_get","docs\u002F5.nodes\u002Fredisops_get",{"title":879,"path":880,"stem":881},"Redis HGET","\u002Fdocs\u002Fnodes\u002Fredisops_hget","docs\u002F5.nodes\u002Fredisops_hget",{"title":883,"path":884,"stem":885},"Redis HSET","\u002Fdocs\u002Fnodes\u002Fredisops_hset","docs\u002F5.nodes\u002Fredisops_hset",{"title":887,"path":888,"stem":889},"Redis INCR","\u002Fdocs\u002Fnodes\u002Fredisops_incr","docs\u002F5.nodes\u002Fredisops_incr",{"title":891,"path":892,"stem":893},"Redis LPOP","\u002Fdocs\u002Fnodes\u002Fredisops_lpop","docs\u002F5.nodes\u002Fredisops_lpop",{"title":895,"path":896,"stem":897},"Redis LPUSH","\u002Fdocs\u002Fnodes\u002Fredisops_lpush","docs\u002F5.nodes\u002Fredisops_lpush",{"title":899,"path":900,"stem":901},"Redis PUBLISH","\u002Fdocs\u002Fnodes\u002Fredisops_publish","docs\u002F5.nodes\u002Fredisops_publish",{"title":903,"path":904,"stem":905},"Redis SET","\u002Fdocs\u002Fnodes\u002Fredisops_set","docs\u002F5.nodes\u002Fredisops_set",{"title":907,"path":908,"stem":909},"SFTP Download","\u002Fdocs\u002Fnodes\u002Fsftp_download","docs\u002F5.nodes\u002Fsftp_download",{"title":911,"path":912,"stem":913},"SFTP Upload","\u002Fdocs\u002Fnodes\u002Fsftp_upload","docs\u002F5.nodes\u002Fsftp_upload",{"title":915,"path":916,"stem":917},"Send SMS","\u002Fdocs\u002Fnodes\u002Fsms_send","docs\u002F5.nodes\u002Fsms_send",{"title":919,"path":920,"stem":921,"children":922,"page":62},"Rfcs","\u002Fdocs\u002Frfcs","docs\u002F6.rfcs",[923,927],{"title":924,"path":925,"stem":926},"RFC 0001 — Worker Assignment for Flow Deployments","\u002Fdocs\u002Frfcs\u002F0001-worker-assignment","docs\u002F6.rfcs\u002F0001-worker-assignment",{"title":928,"path":929,"stem":930},"RFC 0002 — Writes While a Member's Home Region Is Down","\u002Fdocs\u002Frfcs\u002F0002-home-region-outage","docs\u002F6.rfcs\u002F0002-home-region-outage",{"title":932,"path":933,"stem":934,"children":935,"page":62},"Admin","\u002Fdocs\u002Fadmin","docs\u002F7.admin",[936,941,946,951,956,961,966,970,975],{"title":5,"path":937,"stem":938,"order":939,"icon":940},"\u002Fdocs\u002Fadmin\u002Foverview","docs\u002F7.admin\u002F00.overview",0,"i-lucide-compass",{"title":942,"path":943,"stem":944,"order":10,"icon":945},"Getting started","\u002Fdocs\u002Fadmin\u002Fgetting-started","docs\u002F7.admin\u002F01.getting-started","i-lucide-play",{"title":947,"path":948,"stem":949,"order":16,"icon":950},"Layered architecture","\u002Fdocs\u002Fadmin\u002Flayered-architecture","docs\u002F7.admin\u002F02.layered-architecture","i-lucide-layers",{"title":952,"path":953,"stem":954,"order":22,"icon":955},"Building a custom admin project","\u002Fdocs\u002Fadmin\u002Fbuilding-a-custom-admin-project","docs\u002F7.admin\u002F03.building-a-custom-admin-project","i-lucide-folder-plus",{"title":957,"path":958,"stem":959,"order":51,"icon":960},"Building admin modules","\u002Fdocs\u002Fadmin\u002Fbuilding-admin-modules","docs\u002F7.admin\u002F04.building-admin-modules","i-lucide-package-plus",{"title":962,"path":963,"stem":964,"order":57,"icon":965},"Base module reference","\u002Fdocs\u002Fadmin\u002Freference-base-modules","docs\u002F7.admin\u002F05.reference-base-modules","i-lucide-boxes",{"title":967,"path":968,"stem":969,"order":111,"icon":17},"Deployment","\u002Fdocs\u002Fadmin\u002Fdeployment","docs\u002F7.admin\u002F06.deployment",{"title":971,"path":972,"stem":973,"order":117,"icon":974},"Consuming the base layer (versioned)","\u002Fdocs\u002Fadmin\u002Fconsuming-the-base-layer","docs\u002F7.admin\u002F07.consuming-the-base-layer","i-lucide-package",{"title":976,"path":977,"stem":978,"order":117},"Admin UI","\u002Fdocs\u002Fadmin\u002F_dir","docs\u002F7.admin\u002F_dir",{"title":980,"path":981,"stem":982,"children":983,"page":62},"Services","\u002Fdocs\u002Fservices","docs\u002F8.services",[984,989],{"title":985,"path":986,"stem":987,"order":10,"icon":988},"Custom development & support services","\u002Fdocs\u002Fservices\u002Fcustom-development","docs\u002F8.services\u002F1.custom-development","i-lucide-briefcase",{"title":980,"path":990,"stem":991,"icon":988,"order":992},"\u002Fdocs\u002Fservices\u002F_dir","docs\u002F8.services\u002F_dir",80,{"title":994,"path":995,"stem":996,"order":939},"Dir","\u002Fdocs\u002F_dir","docs\u002F_dir",{"id":998,"title":304,"body":999,"description":2522,"extension":2523,"links":2524,"meta":2525,"navigation":2526,"path":305,"seo":2527,"stem":306,"__hash__":2528},"docs\u002Fdocs\u002F4.reference\u002F30.turnstile.md",{"type":1000,"value":1001,"toc":2503},"minimark",[1002,1006,1018,1029,1034,1049,1106,1114,1121,1125,1138,1192,1207,1211,1228,1236,1247,1253,1257,1265,1287,1290,1473,1490,1501,1512,1522,1533,1536,1540,1551,1561,1572,1576,1662,1672,1682,1687,1697,1751,1762,1766,1800,1804,1818,1822,1829,1893,1900,1903,1917,2039,2062,2080,2084,2091,2126,2145,2169,2173,2185,2259,2265,2285,2299,2312,2316,2484,2488,2499],[1003,1004,304],"h1",{"id":1005},"turnstile",[1007,1008,1009,1010,1017],"p",{},"Some endpoints cannot require a token, because getting a token is what they are\nfor: sign-up, login, password recovery, waitlists, a public chat that costs money\nper message. ",[1011,1012,1016],"a",{"href":1013,"rel":1014},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fturnstile\u002F",[1015],"nofollow","Cloudflare Turnstile","\nputs a challenge in front of them. The browser or webview solves it, the client\nsends the resulting token with the request, and the server asks Cloudflare whether\nthat token is good before the handler runs.",[1007,1019,1020,1024,1025,1028],{},[1021,1022,1023],"code",{},"github.com\u002Fredelay\u002Fgo-framework\u002Fserver\u002Fturnstile"," verifies tokens and gates\nroutes. ",[1021,1026,1027],{},"modules\u002Fturnstile"," wires it from the environment.",[1030,1031,1033],"h2",{"id":1032},"wire-it-up","Wire it up",[1035,1036,1041],"pre",{"className":1037,"code":1038,"language":1039,"meta":1040,"style":1040},"language-go shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import _ \"github.com\u002Fredelay\u002Fgo-framework\u002Fmodules\u002Fturnstile\"\n","go","",[1021,1042,1043],{"__ignoreMap":1040},[1044,1045,1047],"span",{"class":1046,"line":10},"line",[1044,1048,1038],{},[1035,1050,1054],{"className":1051,"code":1052,"language":1053,"meta":1040,"style":1040},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","TURNSTILE_SECRET_FILE=\u002Frun\u002Fsecrets\u002Fturnstile_secret\nTURNSTILE_ROUTES=POST \u002Fapi\u002Fv1\u002Fusers\u002F,POST \u002Fapi\u002Fv1\u002Flogin\u002Frecover\u002F*\nTURNSTILE_REPORT_ROUTES=POST \u002Fapi\u002Fv1\u002Fwaitlist   # optional, go-framework ≥ v0.43.0\n","bash",[1021,1055,1056,1070,1090],{"__ignoreMap":1040},[1044,1057,1058,1062,1066],{"class":1046,"line":10},[1044,1059,1061],{"class":1060},"sTEyZ","TURNSTILE_SECRET_FILE",[1044,1063,1065],{"class":1064},"sMK4o","=",[1044,1067,1069],{"class":1068},"sfazB","\u002Frun\u002Fsecrets\u002Fturnstile_secret\n",[1044,1071,1072,1075,1077,1080,1084,1087],{"class":1046,"line":16},[1044,1073,1074],{"class":1060},"TURNSTILE_ROUTES",[1044,1076,1065],{"class":1064},[1044,1078,1079],{"class":1068},"POST",[1044,1081,1083],{"class":1082},"sBMFI"," \u002Fapi\u002Fv1\u002Fusers\u002F,POST",[1044,1085,1086],{"class":1068}," \u002Fapi\u002Fv1\u002Flogin\u002Frecover\u002F",[1044,1088,1089],{"class":1060},"*\n",[1044,1091,1092,1095,1097,1099,1102],{"class":1046,"line":22},[1044,1093,1094],{"class":1060},"TURNSTILE_REPORT_ROUTES",[1044,1096,1065],{"class":1064},[1044,1098,1079],{"class":1068},[1044,1100,1101],{"class":1082}," \u002Fapi\u002Fv1\u002Fwaitlist",[1044,1103,1105],{"class":1104},"sHwdD","   # optional, go-framework ≥ v0.43.0\n",[1007,1107,1108,1109,1113],{},"That is the whole integration. The routes worth protecting are registered by\nmodules the app does not own, so they are ",[1110,1111,1112],"strong",{},"named in configuration"," rather than\ndeclared at each handler.",[1007,1115,1116,1117,1120],{},"With a secret but no routes — or routes but no secret — the app still serves, and\nsays so at ",[1021,1118,1119],{},"WARN",". A deployment that verifies nothing while reading as though it\ndoes is the failure this is built to prevent, so it is never left to be inferred\nfrom a missing log line.",[1030,1122,1124],{"id":1123},"report-mode","Report mode",[1007,1126,1127,1128,1130,1131,1133,1134,1137],{},"go-framework ≥ v0.43.0. ",[1021,1129,1094],{}," takes the same patterns as ",[1021,1132,1074],{},". A route\nthere is verified exactly as an enforced one would be, and the outcome is logged\nand observed, but the request is ",[1110,1135,1136],{},"always served",". It is how a route gets real\nnumbers (\"how many callers arrive without a token? from which clients?\") before\nanyone decides to enforce on it. Switching on enforcement is then moving the\npattern from one list to the other.",[1139,1140,1141,1149,1155,1161],"ul",{},[1142,1143,1144,1145,1148],"li",{},"A request matching both lists is ",[1110,1146,1147],{},"enforced",": report mode never weakens a\ngate. The module warns at boot, naming the overlapping patterns.",[1142,1150,1151,1154],{},[1021,1152,1153],{},"TURNSTILE_FAIL_OPEN"," does not apply. A report route serves whatever the outcome.",[1142,1156,1157,1158,1160],{},"Report routes alone are enough to install the guard; ",[1021,1159,1074],{}," may be\nempty.",[1142,1162,1163,1164,1167,1168,1171,1172,1175,1176,1171,1179,1175,1182,1184,1185,1175,1188,1191],{},"The module logs each report decision as ",[1021,1165,1166],{},"turnstile: report: would allow","\n(",[1021,1169,1170],{},"DEBUG","), ",[1021,1173,1174],{},"would refuse"," (",[1021,1177,1178],{},"INFO",[1021,1180,1181],{},"siteverify unavailable",[1021,1183,1119],{},") or\n",[1021,1186,1187],{},"misconfigured",[1021,1189,1190],{},"ERROR",").",[1007,1193,1194,1195,1198,1199,1202,1203,1206],{},"In code, ",[1021,1196,1197],{},"turnstile.WithReportRoutes(patterns...)"," is the option behind it (it\npanics on an unparseable pattern, like ",[1021,1200,1201],{},"Guard","), and ",[1021,1204,1205],{},"turnstile.Overlapping(a, b)","\nreturns the patterns two lists share.",[1030,1208,1210],{"id":1209},"route-patterns","Route patterns",[1007,1212,1213,1216,1217,1220,1221,1224,1225,1227],{},[1021,1214,1215],{},"METHOD \u002Fpath",", where ",[1021,1218,1219],{},"*"," matches one segment and ",[1021,1222,1223],{},"**"," matches the rest. The\nmethod may be ",[1021,1226,1219],{},", or omitted entirely, to match any.",[1035,1229,1234],{"className":1230,"code":1232,"language":1233},[1231],"language-text","POST \u002Fapi\u002Fv1\u002Fusers\u002F\nPOST \u002Fapi\u002Fv1\u002Flogin\u002Frecover\u002F*\n* \u002Fapi\u002Fv1\u002Fwaitlist\n","text",[1021,1235,1232],{"__ignoreMap":1040},[1007,1237,1238,1239,1242,1243,1246],{},"A trailing slash is insignificant on both sides. chi serves ",[1021,1240,1241],{},"\u002Fusers\u002F"," and\n",[1021,1244,1245],{},"\u002Fusers",", so a gate catching only one spelling would read as protection without\nbeing any. Dotted and doubled-slash paths are matched in resolved form too.",[1007,1248,1249,1252],{},[1110,1250,1251],{},"An unparseable pattern fails the boot."," Skipping it would leave the route it\nnames ungated while the configuration reads as though it were protected.",[1030,1254,1256],{"id":1255},"choosing-which-routes-to-gate","Choosing which routes to gate",[1007,1258,1259,1260,1264],{},"Gate the endpoints that a stranger can reach ",[1261,1262,1263],"em",{},"and"," that do work on their behalf:\ncreate an account, send mail or SMS, spend money. Leave authenticated endpoints\nalone — a challenge there only inconveniences people who are already signed in,\nand abuse by a named account is a rate-limiting problem, not a bot problem.",[1007,1266,1267,1278,1279,1282,1283,1286],{},[1110,1268,1269,1270,1273,1274,1277],{},"Do not decide this from ",[1021,1271,1272],{},"security"," in ",[1021,1275,1276],{},"\u002Fopenapi.json","."," In this framework\n",[1021,1280,1281],{},"modules.Security(\"BearerAuth\")"," is spec ",[1261,1284,1285],{},"metadata","; it documents a route, it\ndoes not enforce anything. Enforcement comes from middleware, so a route can\ndeclare no security and still answer 401 — and the spec will not tell you.",[1007,1288,1289],{},"The only reliable test is to ask the running service. Probe each candidate with\ndeliberately invalid input and read 401 against anything else:",[1035,1291,1293],{"className":1051,"code":1292,"language":1053,"meta":1040,"style":1040},"# from inside the container, if the edge restricts who may call the API\ncid=$(docker ps -q -f name=\u003Cstack>_api. | head -1)\npid=$(docker inspect -f '{{.State.Pid}}' \"$cid\")\nnsenter -t \"$pid\" -n curl -s -o \u002Fdev\u002Fnull -w '%{http_code}\\n' \\\n  -X POST -H 'Content-Type: application\u002Fjson' -d '{}' \\\n  http:\u002F\u002Flocalhost:8080\u002Fapi\u002Fv1\u002F\u003Croute>\n",[1021,1294,1295,1300,1350,1384,1427,1457],{"__ignoreMap":1040},[1044,1296,1297],{"class":1046,"line":10},[1044,1298,1299],{"class":1104},"# from inside the container, if the edge restricts who may call the API\n",[1044,1301,1302,1305,1308,1311,1314,1317,1320,1323,1326,1329,1332,1335,1338,1341,1344,1347],{"class":1046,"line":16},[1044,1303,1304],{"class":1060},"cid",[1044,1306,1307],{"class":1064},"=$(",[1044,1309,1310],{"class":1082},"docker",[1044,1312,1313],{"class":1068}," ps",[1044,1315,1316],{"class":1068}," -q",[1044,1318,1319],{"class":1068}," -f",[1044,1321,1322],{"class":1068}," name=",[1044,1324,1325],{"class":1064},"\u003C",[1044,1327,1328],{"class":1068},"stac",[1044,1330,1331],{"class":1060},"k",[1044,1333,1334],{"class":1064},">",[1044,1336,1337],{"class":1068},"_api.",[1044,1339,1340],{"class":1064}," |",[1044,1342,1343],{"class":1082}," head",[1044,1345,1346],{"class":1068}," -1",[1044,1348,1349],{"class":1064},")\n",[1044,1351,1352,1355,1357,1359,1362,1364,1367,1370,1373,1376,1379,1382],{"class":1046,"line":22},[1044,1353,1354],{"class":1060},"pid",[1044,1356,1307],{"class":1064},[1044,1358,1310],{"class":1082},[1044,1360,1361],{"class":1068}," inspect",[1044,1363,1319],{"class":1068},[1044,1365,1366],{"class":1064}," '",[1044,1368,1369],{"class":1068},"{{.State.Pid}}",[1044,1371,1372],{"class":1064},"'",[1044,1374,1375],{"class":1064}," \"",[1044,1377,1378],{"class":1060},"$cid",[1044,1380,1381],{"class":1064},"\"",[1044,1383,1349],{"class":1064},[1044,1385,1386,1389,1392,1394,1397,1399,1402,1405,1408,1411,1414,1417,1419,1422,1424],{"class":1046,"line":51},[1044,1387,1388],{"class":1082},"nsenter",[1044,1390,1391],{"class":1068}," -t",[1044,1393,1375],{"class":1064},[1044,1395,1396],{"class":1060},"$pid",[1044,1398,1381],{"class":1064},[1044,1400,1401],{"class":1068}," -n",[1044,1403,1404],{"class":1068}," curl",[1044,1406,1407],{"class":1068}," -s",[1044,1409,1410],{"class":1068}," -o",[1044,1412,1413],{"class":1068}," \u002Fdev\u002Fnull",[1044,1415,1416],{"class":1068}," -w",[1044,1418,1366],{"class":1064},[1044,1420,1421],{"class":1068},"%{http_code}\\n",[1044,1423,1372],{"class":1064},[1044,1425,1426],{"class":1060}," \\\n",[1044,1428,1429,1432,1435,1438,1440,1443,1445,1448,1450,1453,1455],{"class":1046,"line":57},[1044,1430,1431],{"class":1068},"  -X",[1044,1433,1434],{"class":1068}," POST",[1044,1436,1437],{"class":1068}," -H",[1044,1439,1366],{"class":1064},[1044,1441,1442],{"class":1068},"Content-Type: application\u002Fjson",[1044,1444,1372],{"class":1064},[1044,1446,1447],{"class":1068}," -d",[1044,1449,1366],{"class":1064},[1044,1451,1452],{"class":1068},"{}",[1044,1454,1372],{"class":1064},[1044,1456,1426],{"class":1060},[1044,1458,1459,1462,1464,1467,1470],{"class":1046,"line":111},[1044,1460,1461],{"class":1068},"  http:\u002F\u002Flocalhost:8080\u002Fapi\u002Fv1\u002F",[1044,1463,1325],{"class":1064},[1044,1465,1466],{"class":1068},"rout",[1044,1468,1469],{"class":1060},"e",[1044,1471,1472],{"class":1064},">\n",[1007,1474,1475,1478,1479,1482,1483,1482,1486,1489],{},[1021,1476,1477],{},"401"," means auth is enforced and Turnstile is the wrong tool. Anything else —\n",[1021,1480,1481],{},"400",", ",[1021,1484,1485],{},"403",[1021,1487,1488],{},"200"," — means a stranger reaches it. Invalid input is refused\nbefore any work happens, so the probe is safe to run against production.",[1007,1491,1492,1493,1496,1497,1500],{},"One caveat: an enumeration-safe endpoint answers success for ",[1261,1494,1495],{},"any"," input by\ndesign. ",[1021,1498,1499],{},"POST \u002Flogin\u002Frecover\u002F{email}"," returns 200 \"password recovery email sent\"\nfor a string that is not an address, which is correct behaviour and also exactly\nwhy it needs gating.",[1007,1502,1503,1504,1507,1508,1511],{},"A probe answers ",[1261,1505,1506],{},"is it enforced",". It does not answer ",[1261,1509,1510],{},"does anyone call it",", and\nthat second question is where gates usually fail: when two routes do the same\njob, gating one and leaving its twin open protects nothing while reading as\nprotection. Grep the client repos for call sites before fixing a list — a list\nbuilt from what is registered, rather than from what clients use, invites\nexactly that mistake.",[1007,1513,1514,1515,1518,1519,1521],{},"Some endpoints can ",[1110,1516,1517],{},"never"," carry a token, whatever the client does, and must\nnever end up inside a wildcard: an RFC 8058 one-click unsubscribe is POSTed by\nthe recipient's mail client, with no browser and no JavaScript to render a\nwidget. Webhooks and callbacks from third parties are the same. Gating one does\nnot inconvenience a user — it silently breaks deliverability or an integration.\nPrefer exact patterns over ",[1021,1520,1219],{}," wherever such a sibling exists, and say why in a\ncomment next to the configuration, because the wildcard is exactly the kind of\nthing a later tidy-up introduces.",[1007,1523,1524,1525,1528,1529,1191],{},"Wildcards also matter for metrics: label by the ",[1110,1526,1527],{},"matched pattern",", never the\nrequest path (see ",[1011,1530,1532],{"href":1531},"#observability","Observability",[1007,1534,1535],{},"Server-to-server paths are unaffected either way. The guard is HTTP middleware,\nso in-process service calls and event handlers never pass through it — a flow\nreacting to an event does not need a token.",[1030,1537,1539],{"id":1538},"where-the-token-comes-from","Where the token comes from",[1007,1541,1542,1543,1546,1547,1550],{},"The header ",[1021,1544,1545],{},"CF-Turnstile-Response"," first, then a ",[1021,1548,1549],{},"turnstile_token"," field in a\nJSON or form-encoded body. Reading the body to find it leaves the body intact for\nthe handler.",[1007,1552,1553,1554,1557,1558,1560],{},"The header is the ",[1110,1555,1556],{},"only"," option for routes that carry no body — ",[1021,1559,1499],{}," takes the address in the path. Form-encoded support is\nwhat lets the OAuth2 password flow be gated.",[1007,1562,1563,1564,1567,1568,1571],{},"Set ",[1021,1565,1566],{},"TURNSTILE_TOKEN_HEADER"," or ",[1021,1569,1570],{},"TURNSTILE_TOKEN_FIELD"," to rename them; setting\none and leaving the other empty disables the other source.",[1030,1573,1575],{"id":1574},"what-the-caller-gets-back","What the caller gets back",[1577,1578,1579,1596],"table",{},[1580,1581,1582],"thead",{},[1583,1584,1585,1589,1592],"tr",{},[1586,1587,1588],"th",{},"Situation",[1586,1590,1591],{},"Status",[1586,1593,1594],{},[1021,1595,1021],{},[1597,1598,1599,1612,1624,1636,1649],"tbody",{},[1583,1600,1601,1605,1607],{},[1602,1603,1604],"td",{},"No token on a gated route",[1602,1606,1485],{},[1602,1608,1609],{},[1021,1610,1611],{},"turnstile_required",[1583,1613,1614,1617,1619],{},[1602,1615,1616],{},"Cloudflare rejected the token",[1602,1618,1485],{},[1602,1620,1621],{},[1021,1622,1623],{},"turnstile_invalid",[1583,1625,1626,1629,1631],{},[1602,1627,1628],{},"Token already used, or expired",[1602,1630,1485],{},[1602,1632,1633],{},[1021,1634,1635],{},"turnstile_expired",[1583,1637,1638,1641,1644],{},[1602,1639,1640],{},"Our own secret is wrong",[1602,1642,1643],{},"500",[1602,1645,1646],{},[1021,1647,1648],{},"turnstile_misconfigured",[1583,1650,1651,1654,1657],{},[1602,1652,1653],{},"siteverify unreachable",[1602,1655,1656],{},"503",[1602,1658,1659],{},[1021,1660,1661],{},"turnstile_unavailable",[1007,1663,1664,1665,1668,1669,1671],{},"Bodies keep the usual ",[1021,1666,1667],{},"{\"detail\": \"...\"}"," shape and add ",[1021,1670,1021],{},", so a client can\ntell \"solve it again\" from \"this is the server's fault\" without parsing prose.",[1007,1673,1674,1675,1678,1679,1681],{},"Tokens are single-use. A request that fails ",[1261,1676,1677],{},"after"," verification needs a fresh\ntoken, not a retry of the same one — on ",[1021,1680,1635],{}," the client should\nreset the widget.",[1683,1684,1686],"h3",{"id":1685},"telling-the-server-why-there-is-no-token","Telling the server why there is no token",[1007,1688,1689,1690,1167,1693,1696],{},"A client that sends no token can say why in ",[1021,1691,1692],{},"X-Turnstile-Client",[1021,1694,1695],{},"turnstile.ClientStateHeader","):",[1577,1698,1699,1709],{},[1580,1700,1701],{},[1583,1702,1703,1706],{},[1586,1704,1705],{},"Value",[1586,1707,1708],{},"Meaning",[1597,1710,1711,1721,1731,1741],{},[1583,1712,1713,1718],{},[1602,1714,1715],{},[1021,1716,1717],{},"unavailable",[1602,1719,1720],{},"no widget could run on this client",[1583,1722,1723,1728],{},[1602,1724,1725],{},[1021,1726,1727],{},"timeout",[1602,1729,1730],{},"the challenge did not answer in time",[1583,1732,1733,1738],{},[1602,1734,1735],{},[1021,1736,1737],{},"error",[1602,1739,1740],{},"the widget reported an error",[1583,1742,1743,1748],{},[1602,1744,1745],{},[1021,1746,1747],{},"superseded",[1602,1749,1750],{},"a newer challenge replaced this one",[1007,1752,1753,1754,1757,1758,1761],{},"Anything else is recorded as ",[1021,1755,1756],{},"other",". The header is ",[1110,1759,1760],{},"recorded, never trusted",":\nit changes no decision. It separates \"this client could not have produced a\ntoken\" from \"the challenge did not answer in time\", which is the question report\nmode is there to answer. Because the value set is closed, it is safe as a log\nfield or metric label whatever a client sends.",[1683,1763,1765],{"id":1764},"deliberate-choices","Deliberate choices",[1139,1767,1768,1778,1788,1794],{},[1142,1769,1770,1773,1774,1777],{},[1110,1771,1772],{},"CORS preflights are never gated."," A browser sends ",[1021,1775,1776],{},"OPTIONS"," without a token\nand will not send the real request if it fails.",[1142,1779,1780,1783,1784,1787],{},[1110,1781,1782],{},"An unreachable siteverify fails closed"," (503). ",[1021,1785,1786],{},"TURNSTILE_FAIL_OPEN=true","\nreverses that; it never admits a token Cloudflare actively rejected.",[1142,1789,1790,1793],{},[1110,1791,1792],{},"A bad secret is a 500, not a 403."," It is not something the caller can fix by\ntrying again, and it should page you, not them.",[1142,1795,1796,1799],{},[1110,1797,1798],{},"A body too large to buffer is refused",", not waved through. Truncated JSON\ncannot parse, but truncated form data parses fine, so without the cap the guard\nwould decide on a partial read of a body the handler then sees in full.",[1030,1801,1803],{"id":1802},"defence-in-depth","Defence in depth",[1007,1805,1806,1809,1810,1813,1814,1817],{},[1021,1807,1808],{},"TURNSTILE_HOSTNAMES"," requires the hostname that solved the challenge to be one\nof a list, behind the widget's own allowlist. Native webviews report the scheme's\nhost, so a Capacitor app needs ",[1021,1811,1812],{},"localhost"," in both places. ",[1021,1815,1816],{},"TURNSTILE_ACTION","\ndoes the same for the widget's action.",[1030,1819,1821],{"id":1820},"testing","Testing",[1007,1823,1824,1825,1828],{},"Cloudflare publishes test secrets. Use them so suites run the ",[1110,1826,1827],{},"real"," verification\npath with a deterministic answer, rather than a flag that skips verification and\nleaves the gate untested:",[1577,1830,1831,1844],{},[1580,1832,1833],{},[1583,1834,1835,1838,1841],{},[1586,1836,1837],{},"Constant",[1586,1839,1840],{},"Secret",[1586,1842,1843],{},"Answer",[1597,1845,1846,1861,1876],{},[1583,1847,1848,1853,1858],{},[1602,1849,1850],{},[1021,1851,1852],{},"TestSecretAlwaysPasses",[1602,1854,1855],{},[1021,1856,1857],{},"1x0000000000000000000000000000000AA",[1602,1859,1860],{},"every token verifies",[1583,1862,1863,1868,1873],{},[1602,1864,1865],{},[1021,1866,1867],{},"TestSecretAlwaysFails",[1602,1869,1870],{},[1021,1871,1872],{},"2x0000000000000000000000000000000AA",[1602,1874,1875],{},"every token fails",[1583,1877,1878,1883,1888],{},[1602,1879,1880],{},[1021,1881,1882],{},"TestSecretAlwaysSpent",[1602,1884,1885],{},[1021,1886,1887],{},"3x0000000000000000000000000000000AA",[1602,1889,1890],{},[1021,1891,1892],{},"timeout-or-duplicate",[1007,1894,1895,1896,1899],{},"Where a suite has no egress, point ",[1021,1897,1898],{},"TURNSTILE_VERIFY_URL"," at a stub instead.",[1030,1901,1532],{"id":1902},"observability",[1007,1904,1905,1908,1909,1912,1913,1916],{},[1021,1906,1907],{},"turnstile.WithObserver"," (or ",[1021,1910,1911],{},"modules\u002Fturnstile.AddObserver",") is called for every\ngated or reported request with a ",[1021,1914,1915],{},"turnstile.Event",":",[1577,1918,1919,1928],{},[1580,1920,1921],{},[1583,1922,1923,1926],{},[1586,1924,1925],{},"Field",[1586,1927],{},[1597,1929,1930,1950,1964,1992,2006,2023],{},[1583,1931,1932,1940],{},[1602,1933,1934,1482,1937],{},[1021,1935,1936],{},"Method",[1021,1938,1939],{},"Path",[1602,1941,1942,1943,1945,1946,1949],{},"the request as sent (",[1021,1944,1939],{}," is the raw ",[1021,1947,1948],{},"r.URL.Path",")",[1583,1951,1952,1957],{},[1602,1953,1954],{},[1021,1955,1956],{},"Pattern",[1602,1958,1959,1960,1963],{},"the path part of the configured pattern that matched, e.g. ",[1021,1961,1962],{},"\u002Fapi\u002Fv1\u002Fitems\u002F*\u002Fvote"," (go-framework ≥ v0.43.1)",[1583,1965,1966,1971],{},[1602,1967,1968],{},[1021,1969,1970],{},"Outcome",[1602,1972,1973,1482,1976,1482,1979,1482,1982,1482,1985,1482,1987,1482,1989],{},[1021,1974,1975],{},"allowed",[1021,1977,1978],{},"missing_token",[1021,1980,1981],{},"invalid",[1021,1983,1984],{},"expired",[1021,1986,1187],{},[1021,1988,1717],{},[1021,1990,1991],{},"failed_open",[1583,1993,1994,1999],{},[1602,1995,1996],{},[1021,1997,1998],{},"Report",[1602,2000,2001,2002,2005],{},"true on a report-only route: the outcome is what enforcement ",[1261,2003,2004],{},"would"," have decided",[1583,2007,2008,2013],{},[1602,2009,2010],{},[1021,2011,2012],{},"ClientState",[1602,2014,2015,2016,2018,2019,2022],{},"from ",[1021,2017,1692],{},", see above; ",[1021,2020,2021],{},"\"\""," when absent",[1583,2024,2025,2036],{},[1602,2026,2027,1482,2030,1482,2033],{},[1021,2028,2029],{},"Result",[1021,2031,2032],{},"Err",[1021,2034,2035],{},"Duration",[1602,2037,2038],{},"Cloudflare's verdict, any error, time spent",[1007,2040,2041,2050,2051,1567,2053,2055,2056,2058,2059,2061],{},[1110,2042,2043,2044,2046,2047,2049],{},"Use ",[1021,2045,1956],{},", not ",[1021,2048,1939],{},", as a metric label."," Under a ",[1021,2052,1219],{},[1021,2054,1223],{}," pattern,\n",[1021,2057,1939],{}," is whatever the caller sent, so a series per path hands them the\ncardinality of your Prometheus. ",[1021,2060,1956],{}," is a closed set fixed by\nconfiguration; with a literal pattern it equals the path.",[1007,2063,2064,2065,2067,2068,2070,2071,2073,2074,2076,2077,1277],{},"The module logs every event: ",[1021,2066,1170],{}," when verified, ",[1021,2069,1178],{}," on a rejection,\n",[1021,2072,1119],{}," when siteverify is unavailable, and ",[1021,2075,1190],{}," when our own secret is wrong,\nsince that one means every gated request is failing. Report routes log as\ndescribed under ",[1011,2078,1124],{"href":2079},"#report-mode",[1683,2081,2083],{"id":2082},"metrics","Metrics",[1007,2085,2086,2087,2090],{},"go-modules ",[1021,2088,2089],{},"metrics.TurnstileDecision"," is a ready-made observer:",[1035,2092,2094],{"className":1037,"code":2093,"language":1039,"meta":1040,"style":1040},"import (\n    \"github.com\u002Fredelay\u002Fgo-modules\u002Fmetrics\"\n    turnstilemod \"github.com\u002Fredelay\u002Fgo-framework\u002Fmodules\u002Fturnstile\"\n)\n\nturnstilemod.AddObserver(metrics.TurnstileDecision)\n",[1021,2095,2096,2101,2106,2111,2115,2121],{"__ignoreMap":1040},[1044,2097,2098],{"class":1046,"line":10},[1044,2099,2100],{},"import (\n",[1044,2102,2103],{"class":1046,"line":16},[1044,2104,2105],{},"    \"github.com\u002Fredelay\u002Fgo-modules\u002Fmetrics\"\n",[1044,2107,2108],{"class":1046,"line":22},[1044,2109,2110],{},"    turnstilemod \"github.com\u002Fredelay\u002Fgo-framework\u002Fmodules\u002Fturnstile\"\n",[1044,2112,2113],{"class":1046,"line":51},[1044,2114,1349],{},[1044,2116,2117],{"class":1046,"line":57},[1044,2118,2120],{"emptyLinePlaceholder":2119},true,"\n",[1044,2122,2123],{"class":1046,"line":111},[1044,2124,2125],{},"turnstilemod.AddObserver(metrics.TurnstileDecision)\n",[1007,2127,2128,2129,2132,2133,2136,2137,2140,2141,2144],{},"It counts ",[1021,2130,2131],{},"turnstile_decisions_total{route, outcome}",", every decision rather than\nonly refusals, so a non-zero ",[1021,2134,2135],{},"outcome=\"allowed\""," proves the observer is wired.\n",[1021,2138,2139],{},"route"," is ",[1021,2142,2143],{},"Event.Pattern"," (go-modules ≥ v0.83.1; earlier versions used the raw\npath). The counter is created lazily: no series exists until the first decision\nafter boot.",[1007,2146,2147,2148,2151,2152,2154,2155,2140,2157,1482,2160,2162,2163,1482,2165,2140,2167,1277],{},"Alert on the ",[1110,2149,2150],{},"outcome values",", not the HTTP ",[1021,2153,1021],{},"s: the response code\n",[1021,2156,1611],{},[1021,2158,2159],{},"outcome=\"missing_token\"",[1021,2161,1623],{}," is\n",[1021,2164,1981],{},[1021,2166,1635],{},[1021,2168,1984],{},[1683,2170,2172],{"id":2171},"a-tokenless-request-that-explains-itself-go-modules-v0842","A tokenless request that explains itself (go-modules ≥ v0.84.2)",[1007,2174,2175,2176,2178,2179,2182,2183,1916],{},"A request with no token is not one thing. A client that cannot produce one\nsays why in ",[1021,2177,1692],{}," (see ",[1011,2180,1686],{"href":2181},"#telling-the-server-why-there-is-no-token","), and\nthe counter records that reason as its own outcome instead of folding it into\n",[1021,2184,1978],{},[1577,2186,2187,2197],{},[1580,2188,2189],{},[1583,2190,2191,2194],{},[1586,2192,2193],{},"outcome",[1586,2195,2196],{},"what it means",[1597,2198,2199,2212,2222,2231,2240,2249],{},[1583,2200,2201,2205],{},[1602,2202,2203],{},[1021,2204,1978],{},[1602,2206,2207,2208,2211],{},"no token ",[1110,2209,2210],{},"and no explanation"," — a client that predates the header, or the header dropped in transit by a proxy, a CORS preflight or a missing forward. This is the one to alert on.",[1583,2213,2214,2219],{},[1602,2215,2216],{},[1021,2217,2218],{},"client_unavailable",[1602,2220,2221],{},"no widget could run on that client",[1583,2223,2224,2229],{},[1602,2225,2226],{},[1021,2227,2228],{},"client_timeout",[1602,2230,1730],{},[1583,2232,2233,2238],{},[1602,2234,2235],{},[1021,2236,2237],{},"client_error",[1602,2239,1740],{},[1583,2241,2242,2247],{},[1602,2243,2244],{},[1021,2245,2246],{},"client_superseded",[1602,2248,1750],{},[1583,2250,2251,2256],{},[1602,2252,2253],{},[1021,2254,2255],{},"client_other",[1602,2257,2258],{},"the header carried something outside the set",[1007,2260,2261,2262,1191],{},"The set is closed, so the label cannot be grown by a caller: at most twelve\noutcomes per route (seven gate outcomes plus five ",[1021,2263,2264],{},"client_*",[1007,2266,2267,2270,2271,2274,2275,1482,2277,1567,2279,2281,2282,2284],{},[1110,2268,2269],{},"Only a missing token is mapped."," ",[1021,2272,2273],{},"Event.ClientState"," is filled from the\nheader on every request, including ones that carried a good token, so a\nrequest with both is decided by the token — ",[1021,2276,1975],{},[1021,2278,1981],{},[1021,2280,1984],{}," —\nand the header is ignored. A client cannot move its own requests out of\n",[1021,2283,1981],{}," by setting a header.",[1007,2286,2287,2270,2290,2270,2292,2295,2296,2298],{},[1110,2288,2289],{},"Reading a dashboard across the upgrade:",[1021,2291,1978],{},[1261,2293,2294],{},"drops"," as clients\nthat explain themselves move into their own buckets. That is the point, and it\nlooks exactly like a fix. An alert on ",[1021,2297,1978],{}," becomes sharper — it now\nmeans the header is genuinely not arriving, rather than that plus every\nclient-side failure.",[1007,2300,2301,2302,2305,2306,2308,2309,2311],{},"To prove the wiring in production without writing anything, send one request\n",[1110,2303,2304],{},"without"," a token to an ",[1110,2307,1147],{}," route. The guard refuses it with 403\nbefore the handler runs, so no row, mail or event is created, and\n",[1021,2310,1978],{}," goes to 1. Never probe a report route this way: it serves the\nrequest.",[1030,2313,2315],{"id":2314},"environment","Environment",[1577,2317,2318,2330],{},[1580,2319,2320],{},[1583,2321,2322,2325,2328],{},[1586,2323,2324],{},"Variable",[1586,2326,2327],{},"Default",[1586,2329],{},[1597,2331,2332,2349,2360,2371,2382,2393,2404,2418,2430,2445,2457,2469],{},[1583,2333,2334,2339,2342],{},[1602,2335,2336],{},[1021,2337,2338],{},"TURNSTILE_SECRET",[1602,2340,2341],{},"—",[1602,2343,2344,2345,2348],{},"secret key; prefer the ",[1021,2346,2347],{},"_FILE"," form",[1583,2350,2351,2355,2357],{},[1602,2352,2353],{},[1021,2354,1061],{},[1602,2356,2341],{},[1602,2358,2359],{},"path to a file holding the secret",[1583,2361,2362,2366,2368],{},[1602,2363,2364],{},[1021,2365,1074],{},[1602,2367,2341],{},[1602,2369,2370],{},"comma-separated route patterns, enforced",[1583,2372,2373,2377,2379],{},[1602,2374,2375],{},[1021,2376,1094],{},[1602,2378,2341],{},[1602,2380,2381],{},"comma-separated route patterns, verified and reported but never refused (≥ v0.43.0)",[1583,2383,2384,2388,2390],{},[1602,2385,2386],{},[1021,2387,1808],{},[1602,2389,2341],{},[1602,2391,2392],{},"allowed challenge hostnames",[1583,2394,2395,2399,2401],{},[1602,2396,2397],{},[1021,2398,1816],{},[1602,2400,2341],{},[1602,2402,2403],{},"required widget action",[1583,2405,2406,2410,2415],{},[1602,2407,2408],{},[1021,2409,1153],{},[1602,2411,2412],{},[1021,2413,2414],{},"false",[1602,2416,2417],{},"serve when siteverify is unreachable",[1583,2419,2420,2424,2427],{},[1602,2421,2422],{},[1021,2423,1898],{},[1602,2425,2426],{},"Cloudflare's",[1602,2428,2429],{},"override, for stubs",[1583,2431,2432,2437,2442],{},[1602,2433,2434],{},[1021,2435,2436],{},"TURNSTILE_TIMEOUT",[1602,2438,2439],{},[1021,2440,2441],{},"5s",[1602,2443,2444],{},"per-call timeout",[1583,2446,2447,2451,2455],{},[1602,2448,2449],{},[1021,2450,1566],{},[1602,2452,2453],{},[1021,2454,1545],{},[1602,2456],{},[1583,2458,2459,2463,2467],{},[1602,2460,2461],{},[1021,2462,1570],{},[1602,2464,2465],{},[1021,2466,1549],{},[1602,2468],{},[1583,2470,2471,2476,2481],{},[1602,2472,2473],{},[1021,2474,2475],{},"TURNSTILE_MAX_BODY_BYTES",[1602,2477,2478],{},[1021,2479,2480],{},"1048576",[1602,2482,2483],{},"body buffer cap",[1030,2485,2487],{"id":2486},"a-note-on-bot-fight-mode","A note on Bot Fight Mode",[1007,2489,2490,2491,2494,2495,2498],{},"Cloudflare's zone-wide Bot Fight Mode is a different tool, and on the free tier it\n",[1110,2492,2493],{},"cannot be skipped by WAF rules",". It challenges everything, including native\nwebviews whose origin is ",[1021,2496,2497],{},"http:\u002F\u002Flocalhost"," and whose user agent is not a browser's.\nTurnstile is the targeted alternative: it protects the handful of endpoints that\nneed it without putting a challenge in front of an app's ordinary traffic.",[2500,2501,2502],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}",{"title":1040,"searchDepth":16,"depth":16,"links":2504},[2505,2506,2507,2508,2509,2510,2514,2515,2516,2520,2521],{"id":1032,"depth":16,"text":1033},{"id":1123,"depth":16,"text":1124},{"id":1209,"depth":16,"text":1210},{"id":1255,"depth":16,"text":1256},{"id":1538,"depth":16,"text":1539},{"id":1574,"depth":16,"text":1575,"children":2511},[2512,2513],{"id":1685,"depth":22,"text":1686},{"id":1764,"depth":22,"text":1765},{"id":1802,"depth":16,"text":1803},{"id":1820,"depth":16,"text":1821},{"id":1902,"depth":16,"text":1532,"children":2517},[2518,2519],{"id":2082,"depth":22,"text":2083},{"id":2171,"depth":22,"text":2172},{"id":2314,"depth":16,"text":2315},{"id":2486,"depth":16,"text":2487},"Cloudflare Turnstile verification for the endpoints that have to be unauthenticated — sign-up, login, recovery, waitlists.","md",null,{},{"order":307,"icon":308},{"title":304,"description":2522},"BdNkIpAwVjeFl7L1lk5ez-5eHLz3Umfy2GdiKHLDxvE",1793282569368]