Versions in this module Expand all Collapse all v0 v0.12.4 Nov 22, 2025 Changes in this version + func ListStaticFiles() ([]fs.FileInfo, error) + func OpenStaticFile(path string) (fs.File, error) + func ReadStaticFile(path string) ([]byte, error) + func RegisterAppInitFn(fn func() error) v0.12.3 Nov 18, 2025 Changes in this version + func DeclareSecret(secretName string, meta *SecretMeta) string + func PrintAppManifest() + func SetAppMeta(meta AppMeta) + type AppMeta engine.AppMeta + type SecretMeta struct + Desc string + Optional bool v0.12.2 Nov 5, 2025 Changes in this version + const MaxShortDescLen + const TsunamiCloseOnStdinEnvVar + func DeepCopy[T any](v T) T + func DefineComponent[P any](name string, renderFn func(props P) any) vdom.Component[P] + func HandleDynFunc(pattern string, fn func(http.ResponseWriter, *http.Request)) + func Ptr[T any](v T) *T + func QueueRefOp(ref *vdom.VDomRef, op vdom.VDomRefOperation) + func RegisterEmbeds(assetsFilesystem fs.FS, staticFilesystem fs.FS, manifest []byte) + func RegisterSetupFn(fn func()) + func RunMain() + func SendAsyncInitiation() error + func SetGlobalEventHandler(handler func(event vdom.VDomEvent)) + func SetShortDesc(shortDesc string) + func SetTitle(title string) + func UseAfter(duration time.Duration, timeoutFn func(), deps []any) + func UseAlertModal() (modalOpen bool, triggerAlert func(config ModalConfig)) + func UseConfirmModal() (modalOpen bool, triggerConfirm func(config ModalConfig)) + func UseEffect(fn func() func(), deps []any) + func UseGoRoutine(fn func(ctx context.Context), deps []any) + func UseId() string + func UseRef[T any](val T) *vdom.VDomSimpleRef[T] + func UseRenderTs() int64 + func UseResync() bool + func UseTicker(interval time.Duration, tickFn func(), deps []any) + func UseVDomRef() *vdom.VDomRef + type Atom struct + func ConfigAtom[T any](name string, defaultValue T, meta *AtomMeta) Atom[T] + func DataAtom[T any](name string, defaultValue T, meta *AtomMeta) Atom[T] + func SharedAtom[T any](name string, defaultValue T) Atom[T] + func UseLocal[T any](initialVal T) Atom[T] + func (a Atom[T]) AtomName() string + func (a Atom[T]) Get() T + func (a Atom[T]) Set(newVal T) + func (a Atom[T]) SetFn(fn func(T) T) + type AtomMeta struct + Desc string + Enum []string + Max *float64 + Min *float64 + Pattern string + Units string + type ModalConfig struct + CancelText string + Icon string + OkText string + OnClose func() + OnResult func(bool) + Text string + Title string