Documentation
¶
Overview ¶
Package handler serves the application's embedded pages and assets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*site)
Option supplies a collaborator for the admin page.
func WithBackups ¶
WithBackups sets the lookup behind the admin page's newest-backup line. Omit it when backups are disabled.
func WithJobs ¶ added in v0.3.0
WithJobs supplies the queue and whether its mail transport delivers messages.
func WithoutBackups ¶
WithoutBackups sets the line the admin page shows when the application makes no backups itself. The database variant words it, because "turned off" is true for one and misleading for the other. Without it the page says so plainly.