Documentation
¶
Overview ¶
Package httpapi wires akari-server's HTTP surface: authentication, account and token management, and the session ingest protocol.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
Store *store.Store
Cfg config.Server
// contains filtered or unexported fields
}
Server holds the dependencies shared by all handlers.
func New ¶
New builds a Server. The parse worker is shared with the server main loop; here it backs the admin Reparse button, the rebuild status endpoint, and the UI gating. Its hooks fan out through the SSE hub: fleet-rebuild progress to the status stream, and each committed rebuild to the browsers watching that session.
Click to show internal directories.
Click to hide internal directories.