Versions in this module Expand all Collapse all v0 v0.1.2 Sep 4, 2026 Changes in this version + const ContentType + const DefaultTypePrefix + func DefaultHandler(w http.ResponseWriter, r *http.Request, p Problem) + func Slugify(title string) string + func TypeURI(slug string) string + type Handler func(w http.ResponseWriter, r *http.Request, p Problem) + type InvalidParam struct + Name string + Reason string + type Problem struct + Detail string + Extensions map[string]any + Instance string + InvalidParams []InvalidParam + Status int + Step string + Title string + Type string + func New(status int, detail ...string) Problem + func (p Problem) Error() string + func (p Problem) MarshalJSON() ([]byte, error)