Versions in this module Expand all Collapse all v0 v0.1.0 Jul 15, 2025 Changes in this version + const HeaderKey + const NIP98Prefix + var ErrMissingKey = fmt.Errorf("'%s' key missing from request header", HeaderKey) + func AddNIP98Header(r *http.Request, ur *url.URL, method, hash string, sign signer.I, expiry int64) (err error) + func CheckAuth(r *http.Request, tolerance ...time.Duration) (valid bool, pubkey []byte, err error) + func MakeNIP98Event(u, method, hash string, expiry int64) (ev *event.E)