Versions in this module Expand all Collapse all v1 v1.152.1 Oct 29, 2026 v1.152.0 Oct 28, 2026 Changes in this version + type Config struct + Check func(ctx context.Context, source, callerEmail string, admin bool) error + MaxQueued int + Summary func(ctx context.Context, scriptID string, since time.Time) (scriptevents.EventSummary, error) + func ConfigFor(db *sql.DB, enc whsource.Encryptor, maxQueued int) Config + type Deps struct + Caller func(r *http.Request) (email string, admin bool) + Config Config + Edit func(w http.ResponseWriter, r *http.Request, mutate func(*script.Script)) (*script.Script, bool) + Now func() time.Time + Owned func(w http.ResponseWriter, r *http.Request) (scriptID, actor string, ok bool) + type Handler struct + func ForPortal(scripts *scripthttp.Handler, deps scripthttp.Deps, cfg Config) *Handler + func New(deps Deps) *Handler + func (h *Handler) Register(mux *http.ServeMux, wrap func(http.Handler) http.Handler)