Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1013 Bytes

File metadata and controls

26 lines (19 loc) · 1013 Bytes

Examples

This folder holds runnable snippets you can copy‑paste while reading the docs.

File Purpose
config.yaml Defines one Slack integration (destination, outgoing auth, 1‑minute rate‑limit).
allowlist.yaml Grants caller demo-user the post_as capability.
denylist.yaml Blocks Slack posts to the sample bad-channel.

Quick try‑out

# Run the proxy with the sample configs

go run ./app \
  -config    examples/config.yaml \
  -allowlist examples/allowlist.yaml \
  -denylist  examples/denylist.yaml

# Smoke‑test it’s alive
curl http://localhost:8080/_at_internal/healthz
curl http://localhost:8080/_at_internal/metrics

Need a full walkthrough? Head over to docs/getting-started.md.