go-sdk/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Theodor Nesfeldt Engøy 6a81e5da2a
examples: bind auth-middleware server to localhost by default (#784)
The auth-middleware example currently defaults to `-http :8080`, which
binds to all interfaces (LAN-exposed) by default.

This changes the default to `localhost:8080` and adds a short comment
noting `-http 0.0.0.0:8080` if you intentionally want to expose it.

Rationale: this example serves token-generation endpoints and
authenticated MCP routes; binding loopback by default avoids accidental
exposure while keeping the opt-in remote behavior.

---------

Co-authored-by: Theodor N. Engøy <theodornengoy@Mac.home>
Co-authored-by: Theodor N. Engøy <theodornengoy@eduroam-193-157-246-146.wlan.uio.no>
2026-02-11 10:02:17 +01:00
..
client examples: improve example for listfeatures (#701) 2025-12-10 10:26:22 -05:00
http examples: Fix SSE streaming issue by moving logging from HTTP to MCP middlewarre (#614) 2025-11-11 11:56:52 -05:00
server examples: bind auth-middleware server to localhost by default (#784) 2026-02-11 10:02:17 +01:00