formwire

package
v1.166.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package formwire assembles forms on the platform's server (#2177-#2180): each accepted submission stored in the webhook source made for its form, platform.decrypt answered, the viewer key an embedded authenticated form's token is signed with, and the reader of a form's submissions. It is the composition root's, split out of internal/httpserver for its size budget.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attach

func Attach(p *platform.Platform, hooks *webhookwire.Webhooks)

Attach makes forms store their submissions in webhook sources and answers platform.decrypt (#2178, #2179), where there are endpoints and webhooks.

func Submissions

func Submissions(p *platform.Platform) *epsubmit.Reader

Submissions reads a form's stored submissions for its owner (#2180), through the Trino connection its source is on; nil without a database or a Trino toolkit.

func ViewerKey

func ViewerKey(p *platform.Platform) []byte

ViewerKey is the key an embedded authenticated form's viewer token is signed with (#2177), the one the endpoint layer opens it with; nil where there are no endpoints.

Types

This section is empty.

Jump to

Keyboard shortcuts

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