Module helloworld

Source
Expand description

This module contains simple hello-world-ish handlers

Structs§

Poem
Time
A stand-in for the current system time, implementing a simple text based clock when std is enabled (and commenting on its no_stdness otherwise).

Constants§

POEM_TEXT_LEN

Statics§

POEM
TIME
WELCOME
By virtue of having a SimpleRenderable implementation, a static string will already render as a plain text resource.

Functions§

hello_world_tree
Build a handler that contains a hello-world text at /, and a /time resource