Documentation
¶
Index ¶
- Constants
- func InitRouter(v *Vorma, loaders []AnyLoader, actions []AnyAction, staticFS fs.FS) (*mux.Router, error)
- func IsDev() bool
- func MakeRootFunc(cwdBase string) func(subPath string) string
- type Action
- type ActionCtx
- type Actions
- type AnyAction
- type AnyLoader
- type DevWatchConfig
- type FormData
- type FrontendConfig
- type GoTypeSrc
- type HTMLConfig
- type HeadEls
- type Loader
- type LoaderCtx
- type LoaderError
- type Loaders
- type PathConfig
- type TSDrafter
- type TSGenConfig
- type Vorma
Constants ¶
View Source
const ( ClientBuildIDHeaderKey = vormarun.X_Vorma_Client_Build_Id PublicStaticOutNamePrefix = vormarun.Public_Static_Out_Name_Prefix PublicStaticPrehashedDirname = vormarun.Prehashed_Dirname )
Variables ¶
This section is empty.
Functions ¶
func InitRouter ¶
func MakeRootFunc ¶
Types ¶
type DevWatchConfig ¶
type DevWatchConfig = vormarun.DevWatchConfig
type FrontendConfig ¶
type FrontendConfig = vormarun.FrontendConfig
type HTMLConfig ¶
type HTMLConfig = vormarun.HTMLConfig
type Loader ¶
type Loader[ O any, CtxPtr ~*Ctx, Ctx vormarun.LoaderCtxWrapper[CtxPtr], ] = vormarun.Loader[O, CtxPtr, Ctx]
type LoaderError ¶
type LoaderError = vormarun.LoaderError
type PathConfig ¶
type PathConfig = vormarun.PathConfig
type TSGenConfig ¶
type TSGenConfig = vormarun.TSGenConfig
Directories
¶
| Path | Synopsis |
|---|---|
|
This package is not meant to be called directly by users.
|
This package is not meant to be called directly by users. |
|
internal
|
|
|
cmd/bumper
command
|
|
|
cmd/npm_bumper
command
|
|
|
cmd/sum
command
|
|
|
pkg/lockfile
Package lockfile provides cross-process file locks using lease heartbeats and stale-lock reclamation semantics for command and daemon orchestration.
|
Package lockfile provides cross-process file locks using lease heartbeats and stale-lock reclamation semantics for command and daemon orchestration. |
|
kit
|
|
|
bytesutil
Package bytesutil provides utility functions for byte slice operations.
|
Package bytesutil provides utility functions for byte slice operations. |
|
cookies
Package cookies provides secure cookie helpers and policy-driven defaults.
|
Package cookies provides secure cookie helpers and policy-driven defaults. |
|
cryptoutil
Package cryptoutil provides utility functions for cryptographic operations.
|
Package cryptoutil provides utility functions for cryptographic operations. |
|
csrf
Package csrf provides a robust, stateless, and layered CSRF protection middleware for Go.
|
Package csrf provides a robust, stateless, and layered CSRF protection middleware for Go. |
|
fsutil
Package fsutil provides utility functions for working with the filesystem.
|
Package fsutil provides utility functions for working with the filesystem. |
|
genericsutil
Package genericsutil provides helpers for implementing type erasure patterns
|
Package genericsutil provides helpers for implementing type erasure patterns |
|
htmlutil
Package htmlutil provides safe HTML element construction and rendering.
|
Package htmlutil provides safe HTML element construction and rendering. |
|
k9
Package k9 generates 16-byte k-sortable IDs, with human-friendly string encoding.
|
Package k9 generates 16-byte k-sortable IDs, with human-friendly string encoding. |
|
lru
Package lru implements a generic Least Recently Used (LRU) cache with support for "spam" items and TTL (Time-To-Live).
|
Package lru implements a generic Least Recently Used (LRU) cache with support for "spam" items and TTL (Time-To-Live). |
|
matcher
Package matcher provides route pattern matching with support for static, dynamic, and splat segments.
|
Package matcher provides route pattern matching with support for static, dynamic, and splat segments. |
|
mux
Package mux provides typed HTTP routing with pattern matching, middleware composition, and nested route execution.
|
Package mux provides typed HTTP routing with pattern matching, middleware composition, and nested route execution. |
|
response
Package response provides thin, explicit HTTP response helpers.
|
Package response provides thin, explicit HTTP response helpers. |
|
securebytes
This package assumes that the caller's use case is not sensitive to timing attacks.
|
This package assumes that the caller's use case is not sensitive to timing attacks. |
|
securestring
This package assumes that the caller's use case is not sensitive to timing attacks.
|
This package assumes that the caller's use case is not sensitive to timing attacks. |
|
tasks
Package tasks provides memoized, concurrency-safe task execution.
|
Package tasks provides memoized, concurrency-safe task execution. |
|
validate
Package validate provides validation and parsing for HTTP request data.
|
Package validate provides validation and parsing for HTTP request data. |
Click to show internal directories.
Click to hide internal directories.