Documentation
¶
Overview ¶
Package exclusivehttp serves the owner's setting that a managed script runs one at a time (#1986): no run starts while another run of it is pending or running, whatever started it.
It is mounted by scripthttp, which resolves the caller and the script, refuses everybody but the script's owner and an administrator, and lands the change through the edit funnel every portal edit crosses.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deps ¶
type Deps struct {
// Edit applies mutate to the script in the path for a caller who owns
// it, through the edit funnel, writing any refusal itself; it reports the
// script as saved.
Edit func(w http.ResponseWriter, r *http.Request, mutate func(*script.Script)) (*script.Script, bool)
}
Deps carries the edit the route makes.
Click to show internal directories.
Click to hide internal directories.