Documentation
¶
Index ¶
- Constants
- func EnableThirdPartyRouter(next http.Handler) http.Handler
- func GetIsDev() bool
- func Internal__GetCurrentReleaseVersion() string
- func IsJSONRequest(r *http.Request) bool
- func MustGetPort() int
- func SetModeToDev()
- type Action
- type ActionFunc
- type ActionReqData
- type ActionsRouter
- type ActionsRouterOptions
- type AdHocType
- type FormData
- type HeadEls
- type Loader
- type LoaderError
- type LoaderFunc
- type LoaderReqData
- type LoadersRouter
- type LoadersRouterOptions
- type None
- type Vorma
- type VormaAppConfig
Constants ¶
View Source
const VormaBuildIDHeaderKey = vormaruntime.VormaBuildIDHeaderKey
Variables ¶
This section is empty.
Functions ¶
func Internal__GetCurrentReleaseVersion ¶
func Internal__GetCurrentReleaseVersion() string
func IsJSONRequest ¶
func MustGetPort ¶
func MustGetPort() int
func SetModeToDev ¶
func SetModeToDev()
Types ¶
type Action ¶
type Action[I any, O any] = mux.TaskHandler[I, O]
Type aliases for public API
type ActionFunc ¶
Type aliases for public API
type ActionReqData ¶
type ActionReqData[I any] = vormaruntime.ActionReqData[I]
Type aliases for public API
type ActionsRouterOptions ¶
type ActionsRouterOptions = vormaruntime.ActionsRouterOptions
Type aliases for public API
type Loader ¶
type Loader[O any] = mux.TaskHandler[None, O]
Type aliases for public API
type LoaderFunc ¶
Type aliases for public API
type LoadersRouterOptions ¶
type LoadersRouterOptions = vormaruntime.LoadersRouterOptions
Type aliases for public API
type Vorma ¶
type Vorma = vormaruntime.Vorma
Type aliases for public API
func NewVormaApp ¶
func NewVormaApp(o VormaAppConfig) *Vorma
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
|
|
|
scripts/buildts
command
|
|
|
scripts/release
command
|
|
|
scripts/sum
command
|
|
|
vormaruntime
Package vormaruntime contains Vorma runtime internals used by package vorma.
|
Package vormaruntime contains Vorma runtime internals used by package vorma. |
|
kit
|
|
|
bytesutil
Package bytesutil provides utility functions for byte slice operations.
|
Package bytesutil provides utility functions for byte slice operations. |
|
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 |
|
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). |
|
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
A "Task", as used in this package, is simply a function that takes in input, returns data (or an error), and runs a maximum of one time per execution context / input value pairing, even if invoked repeatedly during the lifetime of the execution context.
|
A "Task", as used in this package, is simply a function that takes in input, returns data (or an error), and runs a maximum of one time per execution context / input value pairing, even if invoked repeatedly during the lifetime of the execution context. |
|
validate
Package validate provides a simple way to validate and parse data from HTTP requests.
|
Package validate provides a simple way to validate and parse data from HTTP requests. |
|
lab
|
|
|
fsmarkdown
buyer beware
|
buyer beware |
|
jsonschema
NOTE:
|
NOTE: |
|
parseutil
NOTE:
|
NOTE: |
|
timer
Package timer provides a simple timer for measuring the duration of code execution.
|
Package timer provides a simple timer for measuring the duration of code execution. |
|
vitecmd
Package vitecmd provides build/dev command orchestration for Vite.
|
Package vitecmd provides build/dev command orchestration for Vite. |
|
xyz
buyer beware
|
buyer beware |
|
Package vormabuild contains Vorma build and dev entrypoints.
|
Package vormabuild contains Vorma build and dev entrypoints. |
|
Package wave provides runtime services that may be linked into production binaries.
|
Package wave provides runtime services that may be linked into production binaries. |
|
tooling
Package tooling provides build-time and dev-time functionality for Wave.
|
Package tooling provides build-time and dev-time functionality for Wave. |
Click to show internal directories.
Click to hide internal directories.