Documentation
¶
Overview ¶
Package serverapp composes stored-data application services and transports. Local lifecycle and remote authentication live outside this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run ties HTTP listeners and background work to one foreground lifetime. All tasks must honor cancellation before returning; storage closes afterwards.
func SameOrigin ¶
SameOrigin accepts HTTP and HTTPS deployments, including TLS termination.
Types ¶
type Capabilities ¶
Capabilities are resolved once by the transport composition. Both admission paths accept ingestion.Request; local collection calls the service directly.
type Options ¶
type Options struct {
Queue ingestionqueue.Queue
}
func (Options) Capabilities ¶
func (options Options) Capabilities() Capabilities
Click to show internal directories.
Click to hide internal directories.