Render
Render renders the demo for gnoweb.
Example
1Render("") / Render("/") -> the full demo
Command
gnokey query vm/qeval -remote "tcp://127.0.0.1:18899" -data "gno.land/r/moul/x/daily/crondemo/v0.Render()"
Result
Package crondemo is a small gnoweb demo of the cron expression parser provided by the p/moul/x/daily/cron(/p/moul/x/daily/cron/v0) library: the grammar, the next firing times of a handful of schedules, the union rule that governs the two day fields, and the expression that never fires.
It contains no scheduling logic of its own, and no state. Every instant on the page is computed from the fixed anchor below rather than from time.Now(), which is what lets an example test pin the output: a block timestamp would make the page different on every call and identical to nothing.
Render renders the demo for gnoweb.
1Render("") / Render("/") -> the full demo
gnokey query vm/qeval -remote "tcp://127.0.0.1:18899" -data "gno.land/r/moul/x/daily/crondemo/v0.Render()"
Evaluate any read-only Gno expression against gno.land/r/moul/x/daily/crondemo/v0, for example a function call with arguments.
// Enter an expression above