internal/

directory
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: MIT

Directories

Path Synopsis
Package codegen generates the code that connects a Tern app's routes to the runtime: tern.gen.go for the Go server, the client route manifest for Vite, and TypeScript types for every route.
Package codegen generates the code that connects a Tern app's routes to the runtime: tern.gen.go for the Go server, the client route manifest for Vite, and TypeScript types for every route.
Package dbtest opens the databases that Tern's database packages are tested against: a fresh SQLite file always, and PostgreSQL when TERN_TEST_POSTGRES holds a connection string (CI sets it).
Package dbtest opens the databases that Tern's database packages are tested against: a fresh SQLite file always, and PostgreSQL when TERN_TEST_POSTGRES holds a connection string (CI sets it).
Package htmltext turns HTML into readable plain text, for the text part of emails.
Package htmltext turns HTML into readable plain text, for the text part of emails.
Package i18n formats translated messages.
Package i18n formats translated messages.
Package markdown renders Markdown with YAML front matter.
Package markdown renders Markdown with YAML front matter.
Package routes discovers Tern routes on the filesystem and matches URLs against them.
Package routes discovers Tern routes on the filesystem and matches URLs against them.
Package seal encrypts and authenticates small values, such as cookie contents, with AES-256-GCM.
Package seal encrypts and authenticates small values, such as cookie contents, with AES-256-GCM.
Package ssr renders Svelte pages on the server by running the app's server bundle in embedded QuickJS VMs.
Package ssr renders Svelte pages on the server by running the app's server bundle in embedded QuickJS VMs.
Package ui formats the Tern CLI's terminal output: colors, symbols, spinners and tables.
Package ui formats the Tern CLI's terminal output: colors, symbols, spinners and tables.
Package version reports the version of the Tern build.
Package version reports the version of the Tern build.

Jump to

Keyboard shortcuts

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