shadows

package
v0.11.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Overview

Package shadows — hidden easter eggs and secret commands. DOOM lives here. Accessible only via /doom slash command in the TUI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoomPage

func DoomPage() []byte

DoomPage returns an HTML page that loads js-dos and auto-starts DOOM.

func LaunchDoom

func LaunchDoom(mux *http.ServeMux) (int, func(), error)

LaunchDoom starts a local HTTP server on a random port, opens the browser to the DOOM page, and returns the port. Caller is responsible for shutting down the server when DOOM exits.

func ServeDoomAssets

func ServeDoomAssets(mux *http.ServeMux)

ServeDoomAssets registers HTTP handlers for the embedded DOOM assets.

Types

This section is empty.

Jump to

Keyboard shortcuts

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