Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { // Run has the Controller execute all the Updaters passed on the channel, // until it's closed. The method runs synchronously and only returns after // the channel is closed or the context is canceled. // // Any spawned goroutines should inherit the passed-in Context. // // A call to Run should be thought of as one execution of the Updaters. // If a caller wants to call Run in a loop, it should use a new channel on // each iteration. Run(context.Context, <-chan driver.Updater) error }
Controller is the interface that updater Controllers implement.
Click to show internal directories.
Click to hide internal directories.