Documentation
¶
Overview ¶
Package deps is what the pages of the dev UI share: the workspace they show and change.
Index ¶
Constants ¶
View Source
const Settle = 250 * time.Millisecond
Settle is how long Follow waits after a change before it updates, so that a burst of changes makes one update.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend interface {
devapi.Backend
// Stop stops app until Start; it returns at once.
Stop(app string) error
// Start starts app, or restarts it when it runs; it returns at once.
Start(app string) error
// SetManual switches app into manual mode, or out of it; it returns at once.
SetManual(app string, on bool) error
// Personas returns the personas the gateway offers.
Personas() []devconfig.Persona
// Changed returns a channel that is closed at the next change of the workspace.
Changed() <-chan struct{}
}
Backend is the workspace the dev UI shows and changes.
Click to show internal directories.
Click to hide internal directories.