Versions in this module Expand all Collapse all v1 v1.137.0 Sep 27, 2026 Changes in this version + type AuditQuerier interface + Query func(ctx context.Context, filter audit.QueryFilter) ([]audit.Event, error) + type Deps struct + Audit AuditQuerier + Load func(w http.ResponseWriter, r *http.Request) (*script.Script, *script.Version, bool) + Run func(w http.ResponseWriter, r *http.Request) (*script.Run, bool) + SignedIn func(r *http.Request) bool + Tiles TileReader + Version func(ctx context.Context, scriptID string, version int) (*script.Version, error) + type Handler struct + func ForAdmin(scripts *scripthttp.Handler, deps scripthttp.Deps) *Handler + func ForPortal(scripts *scripthttp.Handler, deps scripthttp.Deps, calls AuditQuerier, ...) *Handler + func New(deps Deps) *Handler + func (h *Handler) RegisterAdmin(mux *http.ServeMux, prefix string, wrap func(http.Handler) http.Handler) + func (h *Handler) RegisterPortal(mux *http.ServeMux, wrap func(http.Handler) http.Handler) + type TileReader interface + Tile func(ctx context.Context, scriptID, variant string) (data []byte, current bool, err error)