Documentation
¶
Overview ¶
Package httpapi hosts RiskKernel's HTTP surface: the public /v1 API, the OpenAI-compatible proxy, and the local admin/health endpoints. v0.1 starts with health and version; the proxy and /v1 run endpoints are layered on in later build steps against this same server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wires dependencies into an http.Handler. It holds no per-request state.
func New ¶
func New(cfg *config.Config, gw *gateway.Gateway, mgr *runs.Manager, gate *approval.Gate, slack *approval.SlackNotifier, mcpGW *mcp.Gateway, mem *memory.Reader, log *slog.Logger) *Server
New constructs a Server.
Click to show internal directories.
Click to hide internal directories.