host

command
v0.27.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Command host is the smallest application that has Timeclock inside it: it mounts Timeclock under /timeclock, says who is calling and which of its organizations they are in, and gives Timeclock its own colors. It is an example of embedding, and what the end-to-end tests run to see Timeclock as a host's users do.

It has no sign-in of its own: a request says who it is from in the X-Example-User header (an email address), and optionally which organization in X-Example-Org. A real host reads its session instead.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL