Documentation
¶
Overview ¶
Package queryhttp serves a store's exposed named queries, those annotated -- expose: http, to Lambda function URLs, API Gateway HTTP and REST APIs, and direct invoke (ADR 0018). docs/spec/http.md is the wire format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Region string // the function's, which every response names
Prefix string // the deployment's prefix, as in [catalog.Naming]
Log *slog.Logger
}
Config is what a Handler needs besides the store and the catalog.
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler serves the exposed named queries to every front door and to direct invoke. It is safe for concurrent use.
Click to show internal directories.
Click to hide internal directories.