Documentation ¶
Index ¶
Constants ¶
View Source
const Header = `` /* 959-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App interface { // Start kicks off the application and returns immediately. // Start should only be called once. Start() error // Stop notifies the application to exit and returns immediately. // Stop should only be called after [Start]. // It is safe to call Stop multiple times. Stop() error // ExitCode should only be called after [Start] returns with no error. It // should block until the application finishes ExitCode() (int, error) }
Click to show internal directories.
Click to hide internal directories.