Documentation
¶
Overview ¶
Package httpapi serves the REST endpoints and mounts the MCP handler.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deps ¶
type Deps struct {
Auth *auth.Manager
Reader *read.Reader
Writer write.Actions
MCP *mcp.Server
Log *slog.Logger
// ListenAddr is the address the server was told to bind, and AllowedHosts
// any further names it answers to. The handler needs them to know which Host
// names itself; see guard.
ListenAddr string
AllowedHosts []string
}
Deps are what the handlers operate on.
Click to show internal directories.
Click to hide internal directories.