Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHealthzHandler ¶
NewHealthzHandler returns a handler that responds 200 with body "OK".
func NewLoggingHandler ¶ added in v0.2.0
NewLoggingHandler wraps next and emits one glog line per request: `[req] METHOD path -> STATUS` at V(1). Used to make router activity visible during local testing without depending on the upstream provider's own logging.
func NewSetLoglevelHandler ¶
NewSetLoglevelHandler returns a no-op handler for /setloglevel/{level}.
v1 skeleton: slog level is static; nothing to switch at runtime. The endpoint exists so the canonical-admin-endpoints check passes and so future runtime log-level wiring has a known URL. Returns 200 with body "noop" so callers can distinguish from "endpoint missing".
Types ¶
This section is empty.