digger_web

Undocumented in source.

Members

Aliases

pipe
alias pipe = std.process.pipe
Undocumented in source.

Classes

Task
class Task
Undocumented in source.
WebFrontend
class WebFrontend
Undocumented in source.

Functions

diggerQuery
string[] diggerQuery(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
diggerWeb
void diggerWeb(Option!(string, "Interface to listen on.\nDefault is \"localhost\" (local connections only).", "HOST") host, Option!(ushort, "Port to listen on. Default is 0 (random unused port).") port)
Undocumented in source. Be warned that the author may not have intended to support it.
showURL
void showURL(string host, ushort port)

Try to figure out if this is a desktop machine which can run a graphical web browser, or a headless machine which can't. Either open the URL directly, or just print it and invite the user to do so themselves.

startTask
void startTask(string[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
startWatchdog
void startWatchdog()
Undocumented in source. Be warned that the author may not have intended to support it.
taskRunning
bool taskRunning()
Undocumented in source. Be warned that the author may not have intended to support it.
watchdog
void watchdog()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

watchdogTimeout
enum watchdogTimeout;
Undocumented in source.

Mixins

__anonymous
mixin main!(funopt!diggerWeb)
Undocumented in source.

Variables

currentTask
Task currentTask;
Undocumented in source.
exiting
bool exiting;
Undocumented in source.
lastPing
SysTime lastPing;
Undocumented in source.
web
WebFrontend web;
Undocumented in source.

Meta