_example_hook

command
v0.11.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Example stdin hook: append each JSON line to a log file for spike testing.

Build: go build -o marchat-hook-log ./client/exthook/_example_hook Run client from repo root: go run ./client (not go run .) Env: MARCHAT_CLIENT_HOOK_RECEIVE=C:\full\path\marchat-hook-log.exe (and/or MARCHAT_CLIENT_HOOK_SEND)

Default log: $TEMP/marchat-client-hook.log (Windows) or /tmp/marchat-client-hook.log

Jump to

Keyboard shortcuts

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