Versions in this module Expand all Collapse all v0 v0.1.0 Feb 24, 2023 Changes in this version + func MarshalCookie(val any) (string, error) + func ReadJSON(r *http.Request, ptr any) error + func Serve(ctx context.Context, addr string, r http.Handler, graceT time.Duration) error + func UnmarshalCookie(r *http.Request, key string, into any) bool + func WrapErrH(fn func(w http.ResponseWriter, r *http.Request) error) http.HandlerFunc + func WriteErr(w http.ResponseWriter, r *http.Request, err error) + func WriteJSON(w http.ResponseWriter, r *http.Request, status int, v any)