Versions in this module Expand all Collapse all v0 v0.1.3 Jul 4, 2026 v0.1.1 Jun 25, 2026 Changes in this version + const MaxRequestBodyBytes + func ConstantTimeEqual(a, b string) bool + func DecodeJSONBody(w http.ResponseWriter, r *http.Request, dst any) bool + func DecodeJSONBodyWithLimit(w http.ResponseWriter, r *http.Request, dst any, maxBytes int64) bool + func ExtractBearerToken(r *http.Request) string + func IsLoopbackHost(host string) bool + func SecurityHeaders(next http.Handler) http.Handler + func ValidateAuthConfig(addr, apiKey string) error + func WriteJSON(w http.ResponseWriter, status int, v interface{})